We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55277c commit c11d3efCopy full SHA for c11d3ef
1 file changed
t3/utils/fix_cantera.py
@@ -44,6 +44,8 @@ def fix_cantera(model_path: str):
44
Returns:
45
bool: Whether the model was fixed.
46
"""
47
+ if not os.path.isfile(model_path):
48
+ return False
49
shutil.copyfile(model_path, model_path + '.bak')
50
done, fixed = False, False
51
counter = 0
0 commit comments