Skip to content

Commit

Permalink
Tiny change when loading universal model, dependent on concerto.
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPino committed May 24, 2024
1 parent e247f19 commit b61dc77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions syn_elong/model_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import os
import logging
from cobra import Reaction, Metabolite
from concerto.utils.biolog_help import add_biolog_exchanges, universal_model
from concerto.utils.biolog_help import add_biolog_exchanges, load_universal_model
from syn_elong.updates_from_ims837 import update_5
log = logging.getLogger()

Expand All @@ -30,6 +30,8 @@
output_model_name = 'syn_elong.xml'
output_model_path = os.path.join(_file_path, output_model_name)

universal_model = load_universal_model()


def write_model(model):
cobra.io.write_sbml_model(model, output_model_path)
Expand Down Expand Up @@ -79,7 +81,6 @@ def update_3(model):
return model



def update_4(model):
# adding reactions from gapfilling
reaction_ids = {
Expand Down

0 comments on commit b61dc77

Please sign in to comment.