We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e70e26 commit 797951eCopy full SHA for 797951e
src/cobra/test/data/update_pickles.py
@@ -29,7 +29,6 @@
29
config.solver = "glpk"
30
31
32
-
33
if __name__ == "__main__":
34
# ecoli
35
ecoli_model = read_sbml_model("iJO1366.xml.gz")
@@ -52,7 +51,6 @@
52
51
mini = cobra.Model("mini_textbook")
53
mini.compartments = textbook.compartments
54
55
56
for r in textbook.reactions:
57
if r.id in (
58
"GLCpts",
@@ -125,7 +123,9 @@
125
123
json_dump(clean_result, outfile)
126
124
127
# fva with pfba constraint
128
- fva_result = cobra.flux_analysis.flux_variability_analysis(textbook, pfba_factor=1.1)
+ fva_result = cobra.flux_analysis.flux_variability_analysis(
+ textbook, pfba_factor=1.1
+ )
129
clean_result = OrderedDict()
130
for key in sorted(fva_result):
131
clean_result[key] = {k: round(v, 5) for k, v in fva_result[key].items()}
0 commit comments