From 797951e2ac780093e5b8aff78192f1f182908410 Mon Sep 17 00:00:00 2001 From: Midnighter Date: Wed, 7 Oct 2020 15:13:17 +0200 Subject: [PATCH] style: apply black --- src/cobra/test/data/update_pickles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cobra/test/data/update_pickles.py b/src/cobra/test/data/update_pickles.py index fe45e0df8..27dc23f84 100755 --- a/src/cobra/test/data/update_pickles.py +++ b/src/cobra/test/data/update_pickles.py @@ -29,7 +29,6 @@ config.solver = "glpk" - if __name__ == "__main__": # ecoli ecoli_model = read_sbml_model("iJO1366.xml.gz") @@ -52,7 +51,6 @@ mini = cobra.Model("mini_textbook") mini.compartments = textbook.compartments - for r in textbook.reactions: if r.id in ( "GLCpts", @@ -125,7 +123,9 @@ json_dump(clean_result, outfile) # fva with pfba constraint - 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 + ) clean_result = OrderedDict() for key in sorted(fva_result): clean_result[key] = {k: round(v, 5) for k, v in fva_result[key].items()}