Open sevyharris opened 10 months ago
⚠️ One or more regression tests failed. Please download the failed results and run the tests locally or check the log to see why.
beep boop this comment was written by a bot :robot:
Attention: Patch coverage is 0%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 55.38%. Comparing base (
9749453
) to head (c9b30ea
). Report is 6 commits behind head on main.:exclamation: Current head c9b30ea differs from pull request most recent head e875da7
Please upload reports for the commit e875da7 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
rmgpy/reaction.py | 0.00% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant pull request, otherwise it will automatically be closed in 30 days.
This looks helpful, and indeed necessary for https://github.com/ReactionMechanismGenerator/RMG-Py/pull/2321.
What would be some suitable unit tests? Can we go in both directions (to and from Cantera) allowing round-trip testing? Else I guess a few specific examples of different rate types and stoichiometries to check the units?
This pull request is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant pull request, otherwise it will automatically be closed in 30 days.
Motivation or Problem
We want to be able to convert from RMG surface reaction kinetics to Cantera kinetics for simulation purposes. It's faster to do this in memory than through loading a whole file.
Description of Changes
This PR implements the to_cantera_kinetics functions so RMG reaction objects can be easily converted to Cantera objects
Testing
COMING SOON: a Jupyter notebook to help compare an example RMG/Cantera surface mechanism
Reviewer Tips
COMING SOON: a Jupyter notebook to help compare an example RMG/Cantera surface mechanism