Mercurial > repos > bimib > cobraxy
changeset 156:ebd2065dbdc2 draft
Uploaded
author | francesco_lapi |
---|---|
date | Tue, 12 Nov 2024 14:08:53 +0000 |
parents | 3ad3fb730b87 |
children | d02c0b55a47b |
files | COBRAxy/flux_simulation.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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