Skip to content

Commit 84d4b7b

Browse files
committed
Save cantera files that were made from chemkin files to a separate folder.
So they don't over-write the ones that are being written directly.
1 parent fd4bf82 commit 84d4b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmgpy/rmg/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ def generate_cantera_files(self, chemkin_file, **kwargs):
17571757
"""
17581758
transport_file = os.path.join(os.path.dirname(chemkin_file), "tran.dat")
17591759
file_name = os.path.splitext(os.path.basename(chemkin_file))[0] + ".yaml"
1760-
out_name = os.path.join(self.output_directory, "cantera", file_name)
1760+
out_name = os.path.join(self.output_directory, "cantera_from_ck", file_name)
17611761
if "surface_file" in kwargs:
17621762
out_name = out_name.replace("-gas.", ".")
17631763
cantera_dir = os.path.dirname(out_name)

0 commit comments

Comments
 (0)