-
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
Fix cFBA implementation #764
Conversation
Codecov ReportBase: 88.30% // Head: 88.07% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## next #764 +/- ##
==========================================
- Coverage 88.30% 88.07% -0.23%
==========================================
Files 90 93 +3
Lines 2248 2373 +125
==========================================
+ Hits 1985 2090 +105
- Misses 263 283 +20
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. |
/format |
✔️ Auto-formatting triggered by this comment succeeded, commited as 264da59 |
this PR allows this kind of functionality: cm = CommunityModel(
members = [cm1, cm2],
abundances = [a1, a2],
environmental_links = [
EnvironmentalLink(rid, mid, lb, ub) for
(rid, mid, lb, ub) in zip(ex_rxns, ex_mids, ex_lbs, ex_ubs)
],
)
cm |>
with_changed_environmental_bound(...) |>
with_changed_abundances(...)
with_equal_growth_objective() |>
flux_balance_analysis(...; modifications =[modify_abundances(...)]) |>
values_dict(:environmental_reaction)
and some other convenience functions |
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.
The structure is okay, there are a few minor things in the comments but generally this should go in.
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.
minor technical stuff, otherwise good to go
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.
btw FFTM when the type annotations are fixed
Fixed the types issues and renamed the cryptic methods. Did not fix the delimiter issue, will need tlc in #765 |
No description provided.