Skip to content

Commit

Permalink
correct file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
balazs1987 committed Jan 8, 2019
1 parent cf3e240 commit 29ed515
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions gen_ref_model.py
Expand Up @@ -16,6 +16,7 @@
knowledge_base=kb,
component_generators=[prokaryote.InitalizeModel,
prokaryote.TranscriptionSubmodelGenerator,
prokaryote.RnaDegradationSubmodelGenerator,
prokaryote.MetabolismSubmodelGenerator]).run()

wc_lang.io.Writer().run('/media/sf_VM_share/model_inspect.xlsx', model, set_repo_metadata_from_path=False)
Binary file modified model_inspect.xlsx
Binary file not shown.
8 changes: 4 additions & 4 deletions wc_model_gen/prokaryote/metabolism.py
Expand Up @@ -188,10 +188,10 @@ def gen_rate_laws(self):
assert error is None, str(error)

# Apply correction terms if translation submodel is present
if model.submodels.get_one(id='translation'):
gtp_corr_rate = self.calc_gtp_corr_rate()
model.parameters.get_one(id='k_cat_transfer_gmp').value += gtp_corr_rate
model.parameters.get_one(id='k_cat_conversion_gmp_gtp').value += gtp_corr_rate
#if model.submodels.get_one(id='translation'):
# gtp_corr_rate = self.calc_gtp_corr_rate()
# model.parameters.get_one(id='k_cat_transfer_gmp').value += gtp_corr_rate
# model.parameters.get_one(id='k_cat_conversion_gmp_gtp').value += gtp_corr_rate

""" Auxiliary functions """

Expand Down

0 comments on commit 29ed515

Please sign in to comment.