Skip to content

Commit

Permalink
style QA
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnumahamkali committed Nov 30, 2020
1 parent 413b125 commit 50219ed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/example_tmfa.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from cobra import io

from multitfa.core import tmodel


model = io.load_matlab_model("e_coli_core.mat")

pH_I_T_dict = {
Expand All @@ -16,6 +18,7 @@

import pandas as pd


del_psi = pd.DataFrame.from_dict(data=del_psi_dict)
comp_info = pd.DataFrame.from_dict(data=pH_I_T_dict)

Expand All @@ -37,9 +40,9 @@
tfa_model.solver = "cplex"
tfa_model.update()

from multitfa.analysis import (
from multitfa.analysis import ( # For using gurobi use the other function variability_legacy_gurobi
variability_legacy_cplex,
) # For using gurobi use the other function variability_legacy_gurobi
)


vars_analysis = [rxn.id for rxn in tfa_model.reactions if not rxn.id.startswith("DM_")]
Expand Down

0 comments on commit 50219ed

Please sign in to comment.