-
Notifications
You must be signed in to change notification settings - Fork 12
Convert constraints.f90 to Python #3630
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3630 +/- ##
==========================================
+ Coverage 36.28% 37.67% +1.38%
==========================================
Files 88 89 +1
Lines 22237 23554 +1317
==========================================
+ Hits 8069 8873 +804
- Misses 14168 14681 +513 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a7c88e6
to
22397e2
Compare
d7a917f
to
1842ac5
Compare
ed63438
to
6317dfe
Compare
8d5fe79
to
b281443
Compare
406e808
to
dce76f6
Compare
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.
This is a great step, but I'm not totally convinced about the additional complexity of the decorator-based registration idea. What's the advantage of this approach?
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.
Thanks for explaining your approach, I'm happy with this now. Could you add docstrings to your new classes please, and find if there are any "adding a new constraint" docs which are now out of date. Could you deal with my minor "returning an array" comment, and lastly change cc
and others to something more descriptive?
858bcd2
to
a3604e1
Compare
41697fb
to
e0264d3
Compare
Description
Converts
constraint_equations.f90
to Python.Notes
cc
PROCESS/source/fortran/constraint_equations.f90
Lines 311 to 325 in 590cbb6
PROCESS/source/fortran/constraint_equations.f90
Lines 981 to 985 in 302cff7
>=
because it follows the form of other equations with that sign.