-
Notifications
You must be signed in to change notification settings - Fork 9
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
Make kwargs for convenience enzyme constrained consistent #759
Conversation
not sure why the tests did not run |
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.
1 note otherwise ok
no idea why this is giving an error [ Info: Precompiling COBREXA [babc4406-5200-4a30-9033-bf5ae714c842]
WARNING: Method definition make_enzyme_constrained_model(COBREXA.Types.AbstractMetabolicModel) in module Reconstruction at C:\Users\stelmo\Documents\GitHub\pkgs\COBREXA.jl\src\reconstruction\enzyme_constrained.jl:39 overwritten at C:\Users\stelmo\Documents\GitHub\pkgs\COBREXA.jl\src\reconstruction\enzyme_constrained.jl:179.
** incremental compilation may be fatally broken for this module **
WARNING: Method definition kwcall(Any, typeof(COBREXA.Reconstruction.make_enzyme_constrained_model), COBREXA.Types.AbstractMetabolicModel) in module Reconstruction at C:\Users\stelmo\Documents\GitHub\pkgs\COBREXA.jl\src\reconstruction\enzyme_constrained.jl:39 overwritten at C:\Users\stelmo\Documents\GitHub\pkgs\COBREXA.jl\src\reconstruction\enzyme_constrained.jl:179.
** incremental compilation may be fatally broken for this module **
┌ Warning: Replacing docs for `COBREXA.Reconstruction.make_enzyme_constrained_model :: Tuple{COBREXA.Types.AbstractMetabolicModel}` in module `COBREXA.Reconstruction`
└ @ Base.Docs docs\Docs.jl:243 |
Ahhh, you can't dispatch on kwargs! |
Sigh, this means that this PR won't work 😢 |
98f2891
to
afcb691
Compare
Fixed this! |
also changed the |
8a62d49
to
dbc5282
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.
I added 2 suggestions re argument handling, otherwise OK
Codecov ReportBase: 88.19% // Head: 88.22% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## next #759 +/- ##
==========================================
+ Coverage 88.19% 88.22% +0.02%
==========================================
Files 88 88
Lines 2110 2114 +4
==========================================
+ Hits 1861 1865 +4
Misses 249 249
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
f8b03cf
to
e7d7798
Compare
/format |
✔️ Auto-formatting triggered by this comment succeeded, commited as a3c4fc7 |
e6c3d2b
to
f72d662
Compare
f72d662
to
3edaa78
Compare
09d9f45
to
68f46f3
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.
ok
total_enzyme_capacity
is used in the simplified enzyme constrained model