You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature related to a problem? Please describe it.
Describe the solution you would like.
It would be nice to have a neater representation of the model objects - metabolites, reactions, genes, etc. For example,
This introduces a _repr_html_ within the DictList object. Each Object then declares a _DF_ATTRS internally that contains the needed column list for the data frame representation to be created. Adding a to_dataframe() function to DictList would solve this.
>>> model.reactions.to_dataframe()
I've currently already had this implemented at https://github.com/achillesrasquinha/cobrapy/tree/feats
Describe alternatives you considered
Additional context
The text was updated successfully, but these errors were encountered:
Checklist
Is your feature related to a problem? Please describe it.
Describe the solution you would like.
It would be nice to have a neater representation of the model objects - metabolites, reactions, genes, etc. For example,
This introduces a
_repr_html_
within theDictList
object. EachObject
then declares a_DF_ATTRS
internally that contains the needed column list for the data frame representation to be created. Adding ato_dataframe()
function toDictList
would solve this.I've currently already had this implemented at
https://github.com/achillesrasquinha/cobrapy/tree/feats
Describe alternatives you considered
Additional context
The text was updated successfully, but these errors were encountered: