Skip to content

Setting media #90

Answered by cdiener
sophiez8 asked this question in Q&A
Jul 18, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

For setting com.medium the passed medium must be dict-like object like in cobrapy. Media in DataFrame object are only accepted in the grow workflow. So in your example it would be:

...
med.index = med.reaction
com.medium = med.flux
...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sophiez8
Comment options

Answer selected by sophiez8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants