# HG changeset patch # User luca_milaz # Date 1721642169 0 # Node ID 8fa520759989251070c838e9a81223b76a7b9e9e # Parent f51fe57a9eb319a64040a82d8be2ffc4c76223f3 Uploaded diff -r f51fe57a9eb3 -r 8fa520759989 marea_2/ras_to_bounds.py --- a/marea_2/ras_to_bounds.py Mon Jul 22 09:53:54 2024 +0000 +++ b/marea_2/ras_to_bounds.py Mon Jul 22 09:56:09 2024 +0000 @@ -153,8 +153,6 @@ if not os.path.exists('ras_to_bounds'): os.makedirs('ras_to_bounds') - if not os.path.exists('ras_to_bounds_medium'): - os.makedirs('ras_to_bounds_medium') global ARGS ARGS = process_args(sys.argv) @@ -186,9 +184,9 @@ medium = medium[ARGS.medium_selector].to_dict() if(ARGS.ras_selector == True): - generate_bounds(model, medium, ras = ras) + generate_bounds(model, medium, ras = ras, output_folder=ARGS.output_folder) else: - generate_bounds(model, medium) + generate_bounds(model, medium, output_folder=ARGS.output_folder) pass