-
Notifications
You must be signed in to change notification settings - Fork 28
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
Redundant methods in MetabolicNetwork #95
Comments
Hi @vfisikop The medium is being used by the user as you can see here. Though, we were missing a setter, I fixed that already. I also added an example of how to use this in the Similarly, the These functions alter the model, thus the polytope that will be returned later on from the |
Thanks for the clarification. Regarding |
Apologies, I am not sure I am following. I tried to follow the scheme of I need to still work a little bit on it because now if someone tries this: for k,v in model.medium.items():
model.medium[k] = 0
model.medium will get {'EX_co2_e': 0, 'EX_glc__D_e': 0, 'EX_h_e': 0, 'EX_h2o_e': 0, 'EX_nh4_e': 0, 'EX_o2_e': 0, 'EX_pi_e': 0} but if they run If you have any ideas let me know! :) |
Starting from here https://github.com/GeomScale/dingo/blob/develop/dingo/MetabolicNetwork.py#L226 it seems that there is a number of methods that are not used anywhere in the code:
Is this intentional? Should we remove them or they are going to be used in the future?
The text was updated successfully, but these errors were encountered: