Mercurial > repos > bimib > cobraxy
changeset 158:30acaa01df61 draft
Uploaded
author | francesco_lapi |
---|---|
date | Tue, 12 Nov 2024 14:19:01 +0000 |
parents | d02c0b55a47b |
children | 898f2641d3f7 |
files | COBRAxy/flux_simulation.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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