ck2yaml
in v3 can't convert the same files as v2
#1845
Labels
Input
Input parsing and conversion (for example, ck2yaml)
ck2yaml
in v3 can't convert the same files as v2
#1845
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: