Skip to content
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

Modify model's medium #74

Closed
TolisChal opened this issue Sep 6, 2023 · 1 comment
Closed

Modify model's medium #74

TolisChal opened this issue Sep 6, 2023 · 1 comment
Assignees

Comments

@TolisChal
Copy link
Member

Modify both MetabolicNetwork and PolytopeSampler classes to change the bounds of the medium reactions

@hariszaf
Copy link
Collaborator

hariszaf commented Sep 6, 2023

use a dictionary as in cobra

 'EX_glc__D_e': 10.0,
 'EX_h_e': 1000.0,
 'EX_h2o_e': 1000.0,
 'EX_nh4_e': 1000.0,
 'EX_o2_e': 1000.0,
 'EX_pi_e': 1000.0}

and an internal one with the reactions' indexes

@hariszaf hariszaf self-assigned this Sep 6, 2023
hariszaf added a commit to hariszaf/dingo that referenced this issue Sep 9, 2023
TolisChal pushed a commit that referenced this issue Jan 25, 2024
* remove commented line

* address issues #74 and #75

* import Dict type

* test for boundary change and decreasing of fba when glc goes down

* edit test for media indices

* edit test for modify_medium()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants