[Input] Fix file name in error message for errors in surface mechanisms

This commit is contained in:
Ray Speth 2019-01-10 11:16:17 -05:00
parent 1bb081d769
commit cbe763836e

View file

@ -2221,7 +2221,7 @@ duplicate transport data) to be ignored.
parser.loadChemkinFile(surfaceFile, surface=True)
except Exception as err:
logging.warning("\nERROR: Unable to parse '{0}' near line {1}:\n{2}\n".format(
inputFile, parser.line_number, err))
surfaceFile, parser.line_number, err))
raise
if thermoFile: