Skip to content

Commit 797951e

Browse files
committed
style: apply black
1 parent 8e70e26 commit 797951e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/cobra/test/data/update_pickles.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
config.solver = "glpk"
3030

3131

32-
3332
if __name__ == "__main__":
3433
# ecoli
3534
ecoli_model = read_sbml_model("iJO1366.xml.gz")
@@ -52,7 +51,6 @@
5251
mini = cobra.Model("mini_textbook")
5352
mini.compartments = textbook.compartments
5453

55-
5654
for r in textbook.reactions:
5755
if r.id in (
5856
"GLCpts",
@@ -125,7 +123,9 @@
125123
json_dump(clean_result, outfile)
126124

127125
# fva with pfba constraint
128-
fva_result = cobra.flux_analysis.flux_variability_analysis(textbook, pfba_factor=1.1)
126+
fva_result = cobra.flux_analysis.flux_variability_analysis(
127+
textbook, pfba_factor=1.1
128+
)
129129
clean_result = OrderedDict()
130130
for key in sorted(fva_result):
131131
clean_result[key] = {k: round(v, 5) for k, v in fva_result[key].items()}

0 commit comments

Comments
 (0)