# HG changeset patch # User francesco_lapi # Date 1731421141 0 # Node ID 30acaa01df6177c0442ff1898a9177d1b6af0fa3 # Parent d02c0b55a47ba8730f2fa90ca481fce38e9cb455 Uploaded diff -r d02c0b55a47b -r 30acaa01df61 COBRAxy/flux_simulation.py --- a/COBRAxy/flux_simulation.py Tue Nov 12 14:13:34 2024 +0000 +++ b/COBRAxy/flux_simulation.py Tue Nov 12 14:19:01 2024 +0000 @@ -91,7 +91,7 @@ parser.add_argument( '-idop', '--output_path', type = str, - default='result', + default='flux_simulation', help = 'output path for maps') ARGS = parser.parse_args(args) @@ -381,6 +381,9 @@ global ARGS ARGS = process_args(args) + + if not os.path.exists('flux_simulation/'): + os.makedirs('flux_simulation/') model_type :utils.Model = ARGS.model_selector