# check if only one xc keyword was found in output
iflen([xc])>1:
logger.error("Found %d settings for the xc functional: %s. This leads to an undefined behavior of the calculation and no metadata can be written for xc."%(len(xc),xc))
logger.error("The dictionary for xc functional '%s' does not have the key 'name'. Please correct the dictionary xcDict in %s."%(xc[-1],os.path.basename(__file__)))
else:
logger.error("The xc functional '%s' could not be converted for the metadata. Please add it to the dictionary xcDict in %s."%(xc[-1],os.path.basename(__file__)))
...
...
@@ -1315,10 +1312,10 @@ class GaussianParserContext(object):
logger.error("The dictionary for method '%s' does not have the key 'name'. Please correct the dictionary methodDict in %s."%(method[-1],os.path.basename(__file__)))
...
...
@@ -1353,6 +1350,20 @@ class GaussianParserContext(object):
# keep track of the latest system description section