From 61f10970d211e12c46b968ab1c67ec6bcb018806 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Wed, 16 Jul 2014 16:15:14 +0000 Subject: [PATCH] [ck2cti] Fix bug when validating converted mechanisms if the output file name is not specified to ck2cti --- interfaces/cython/cantera/ck2cti.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/cython/cantera/ck2cti.py b/interfaces/cython/cantera/ck2cti.py index a7b563ec2..0297be188 100644 --- a/interfaces/cython/cantera/ck2cti.py +++ b/interfaces/cython/cantera/ck2cti.py @@ -1891,7 +1891,7 @@ def main(argv): if not outName.endswith('.cti'): outName += '.cti' else: - outName = None + outName = os.path.splitext(inputFile)[0] + '.cti' permissive = '--permissive' in options thermoFile = options.get('--thermo')