Skip to content

Commit

Permalink
MSCompatibility scrubbing to CommScores
Browse files Browse the repository at this point in the history
  • Loading branch information
freiburgermsu committed Oct 31, 2023
1 parent d7d204c commit 82bb9ea
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 441 deletions.
2 changes: 1 addition & 1 deletion modelseedpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from modelseedpy.core.exceptions import *

from modelseedpy.community import (
MSCommunity, CommunityMember, MSCompatibility, MSKineticsFBA, CommScores, CommPhitting,
MSCommunity, CommunityMember, MSKineticsFBA, CommScores, CommPhitting,
MSSteadyCom, build_from_species_models, phenotypes)

from modelseedpy.biochem import ModelSEEDBiochem
Expand Down
1 change: 0 additions & 1 deletion modelseedpy/community/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from modelseedpy.community.datastandardization import *
from modelseedpy.community.mssteadycom import MSSteadyCom
from modelseedpy.community.commphitting import CommPhitting
from modelseedpy.community.mscompatibility import MSCompatibility
from modelseedpy.community.commhelper import build_from_species_models, phenotypes
from modelseedpy.community.mskineticsfba import MSKineticsFBA

4 changes: 2 additions & 2 deletions modelseedpy/community/commhelper.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from modelseedpy.core.msminimalmedia import minimizeFlux_withGrowth, bioFlux_check
from modelseedpy.core.exceptions import NoFluxError, ObjectiveError
from modelseedpy.community.mscompatibility import MSCompatibility
from modelseedpy.core.msmodelutl import MSModelUtil
from modelseedpy.core.fbahelper import FBAHelper
from cobra import Model, Reaction, Metabolite
from cobra.medium import minimal_medium
from commscores import GEMCompatibility
from cobra.flux_analysis import pfba
from collections import OrderedDict
from optlang.symbolics import Zero
Expand Down Expand Up @@ -55,7 +55,7 @@ def build_from_species_models(org_models, model_id=None, name=None, abundances=N
------
"""
# construct the new model
models = org_models if not standardize else MSCompatibility.standardize(
models = org_models if not standardize else GEMCompatibility.standardize(
org_models, exchanges=True, conflicts_file_name='exchanges_conflicts.json')
biomass_indices = []
biomass_index = minimal_biomass_index = 2
Expand Down
Loading

0 comments on commit 82bb9ea

Please sign in to comment.