-
-
Notifications
You must be signed in to change notification settings - Fork 370
ck2yaml
in v3 can't convert the same files as v2
#1845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
cc @sevyharris who was helping me with this as well and may be interested in this |
Apologies for spam but I forgot to mention - If I change the offending line from:
to
Then both versions work. |
Thanks for reporting this issue, @JacksonBurns. It appears to be a regression introduced in PR #1736. |
Thanks for the quick fix :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
ck2yaml
in Cantera 2.6.0 is able to convert my chemkin files, but 3.1.0 cannotSteps to reproduce
The
chem-gas.inp
andchem-surface.inp
files are attached to this issue:demo.zip
and are also here: https://github.com/ReactionMechanismGenerator/RMG-Py/tree/a041fdeca81bf1ac6c56c3889a1c448707f55514/test/rmgpy/test_data/chemkin/chemkin_py/surface
I made two conda environments with cantera 2.6.0 (
conda create --name cantera2 "python==3.9.*" "conda-forge::cantera<3"
) and 3.1.0 (conda create --name cantera3 "python==3.9.*" "conda-forge::cantera>2"
) and then run the following commands:conda run --name cantera2 ck2yaml --input chem-gas.inp --surface chem-surface.inp
conda run --name cantera3 ck2yaml --input chem-gas.inp --surface chem-surface.inp
Behavior
v2 works:
$ conda run --name cantera2 ck2yaml --input chem-gas.inp --surface chem-surface.inp Wrote YAML mechanism file to 'chem-gas.yaml'. Mechanism contains 6 species and 4 reactions. Validating mechanism... PASSED
but v3 says this:
System information
Attachments
Included in line above.
Additional context
I'm a developer of RMG and this came up when attempting to upgrade from Cantera 2 to 3 in this PR: ReactionMechanismGenerator/RMG-Py#2751
The text was updated successfully, but these errors were encountered: