-
Notifications
You must be signed in to change notification settings - Fork 119
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
Updated rxd reactions to allow pure backward reactions. #3273
base: master
Are you sure you want to change the base?
Conversation
Also updated generalized reaction to try and avoid reactions where a species goes to a state becoming pure backward reactions because python gives priority to subclass operators.
rate_b *= k | ||
else: | ||
rate_b *= k**v | ||
rate_b *= k if v == 1 else k**v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this change? If this is just a cleanup, can we move this and any other cleanups into a second, later PR? The idea being to keep it clear what changes exist to address the backward reaction issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need this change. I removed some of the unnecessary formatting changes to generalizedReaction.py.
✔️ 8caef7f -> Azure artifacts URL |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3273 +/- ##
==========================================
+ Coverage 67.06% 67.07% +0.01%
==========================================
Files 571 571
Lines 111070 111050 -20
==========================================
- Hits 74492 74490 -2
+ Misses 36578 36560 -18 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
Quality Gate passedIssues Measures |
✔️ e00e1cb -> Azure artifacts URL |
Also updated generalized reaction to try and avoid species to state reactions becoming pure backward reactions because python gives priority to subclass operators.