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
This is an issue I think is due to updates in cobra. With cobra version 0.21.0 create_smoment_model_reaction_wise_with_sbml() runs in a reasonable amount of time. However, once I use an environment with cobra version 0.26.3, the same function consumed a prohibiting amount of time. After drilling into the details, I realized that the time was spent deepcopying metabolic reactions
From my understanding, the autoPACMEN code has not changed on this point, but cobra probably has changed its procedures for copying reactions, leading to a very slow recursive process. As a side note, I have experienced cobrapy to be slow and cumbersome for modifying models and their components. There exist an alternative metabolic modeling package named reframed which I have used to resolve such problems, but due to technological dept, replacing cobra with reframed would take a considerable effort.
The text was updated successfully, but these errors were encountered:
This is an issue I think is due to updates in
cobra
. Withcobra
version 0.21.0create_smoment_model_reaction_wise_with_sbml()
runs in a reasonable amount of time. However, once I use an environment withcobra
version 0.26.3, the same function consumed a prohibiting amount of time. After drilling into the details, I realized that the time was spent deepcopying metabolic reactionsautopacmen/autopacmen/submodules/helper_create_model.py
Line 186 in e115b91
From my understanding, the
autoPACMEN
code has not changed on this point, butcobra
probably has changed its procedures for copying reactions, leading to a very slow recursive process. As a side note, I have experienced cobrapy to be slow and cumbersome for modifying models and their components. There exist an alternative metabolic modeling package named reframed which I have used to resolve such problems, but due to technological dept, replacingcobra
withreframed
would take a considerable effort.The text was updated successfully, but these errors were encountered: