Skip to content

Commit f8956a4

Browse files
committed
gapfill missing import
1 parent 14a88f9 commit f8956a4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modelseedpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
)
5151
from modelseedpy.core.exceptions import *
5252

53-
#from modelseedpy.community import MSCommunity, MSCompatibility, CommKineticPkg
53+
# from modelseedpy.community import MSCommunity, MSCompatibility, CommKineticPkg
5454

5555
from modelseedpy.biochem import ModelSEEDBiochem
5656

modelseedpy/core/msbuilder.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ def build(
977977
add_reaction_from_rast_annotation,
978978
)
979979

980-
logger.debug(f'Base Model: Reactions - {len(model_base.reactions)}')
980+
logger.debug(f"Base Model: Reactions - {len(model_base.reactions)}")
981981

982982
rxn_atpm_id = None
983983
if add_maintenance_atp_reaction:
@@ -1007,6 +1007,8 @@ def build(
10071007
tests = atp_correction.build_tests()
10081008

10091009
logger.debug("Gapfill Model")
1010+
from modelseedpy import MSGapfill
1011+
10101012
gapfill = MSGapfill(
10111013
model_base,
10121014
default_gapfill_templates=[self.template],
@@ -1037,7 +1039,7 @@ def _integrate_solution(template, model, gap_fill_solution):
10371039
for rxn_id, d in gapfill_res["new"].items():
10381040
if rxn_id[:-1] in template.reactions:
10391041
gap_sol[rxn_id[:-1]] = get_reaction_constraints_from_direction(d)
1040-
#print(gap_sol)
1042+
# print(gap_sol)
10411043
model_gapfilled = model_base.copy()
10421044
_integrate_solution(self.template, model_gapfilled, gap_sol)
10431045

0 commit comments

Comments
 (0)