Open rwest opened 2 weeks ago
Would this also require setting a new lower limit to the supported Cantera version inside the environment file? I assume that this new function has not been backported to all previous versions, and there would be some new cutoff.
For a year now we have required Cantera 2.6, and from_yaml
is documented in that version. (It already existed in 2.5.1 but was called fromYaml
)
Bug Description
The unit tests include the warning:
The relevant part of
RMG-Py/test/rmgpy/speciesTest.py
isWe should replace the
fromCti
block with afrom_yaml
block with a syntax a bit like this (this example is obviously a different species)Note the transportDataTest.py also has a fromCti call.
How To Reproduce
Run the unit tests, specifically
test/rmgpy/speciesTest.py
Expected Behavior
We wouldn't get deprecation warnings from Cantera.