Replies: 1 comment 9 replies
-
For reference, this is how I am passing my medium in each case:
Single sample modelling:
Thanks! |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I ran a few samples using your multi-sample workflow (build/grow) and a defined medium and everything runs with no issues - I get my predictions and all. Then, I tried grabbing the models from one of my samples and run things based on Single Model - build the exact same community, with the same abundances and same medium. However, during the later I keep getting an
OptimizationError: could not get community growth rate
This only happens when I pass the same medium I used for my multi-sample workflow. If I leave all the exchanges open, I do get growth predictions with
Community.cooperative_tradeoff
. In both cases I am using the same tradeoff value of 0.7I guess this is happening because there are essential nutrients missing from my medium. My question is why are things working just fine when I run the multi-sample workflow? Is media processed differently or supplemented at one point in the workflow? Apologies if I am missing something. I did have a look at the source code, and as far as I understand the media is not modified.
I am using the latest version of Gurobi as my solver.
Many thanks!
JP
Beta Was this translation helpful? Give feedback.
All reactions