# HG changeset patch # User francesco_lapi # Date 1731420533 0 # Node ID ebd2065dbdc2a7495d55c0bae0864278298ae253 # Parent 3ad3fb730b876b8fdbb6e48cfd0000738b3b10a1 Uploaded diff -r 3ad3fb730b87 -r ebd2065dbdc2 COBRAxy/flux_simulation.py --- a/COBRAxy/flux_simulation.py Thu Nov 07 10:22:56 2024 +0000 +++ b/COBRAxy/flux_simulation.py Tue Nov 12 14:08:53 2024 +0000 @@ -376,13 +376,14 @@ Returns: None """ - if not os.path.exists('flux_simulation/'): - os.makedirs('flux_simulation/') num_processors = cpu_count() global ARGS ARGS = process_args(args) + + if not os.path.exists(ARGS.output_path): + os.makedirs(ARGS.output_path) model_type :utils.Model = ARGS.model_selector