# HG changeset patch # User luca_milaz # Date 1721595210 0 # Node ID da75823f150a6c6559fc69b4f1c8ace26026770f # Parent f66ccbf6338efd0ca8a5bc346150c5e405cd48ca Uploaded diff -r f66ccbf6338e -r da75823f150a marea_2/ras_to_bounds.py --- a/marea_2/ras_to_bounds.py Sun Jul 21 20:47:31 2024 +0000 +++ b/marea_2/ras_to_bounds.py Sun Jul 21 20:53:30 2024 +0000 @@ -55,7 +55,7 @@ parser.add_argument('-rs', '--ras_selector', required = True, - type=bool, + type=utils.Bool("using_RAS"), help = 'ras selector') ARGS = parser.parse_args() @@ -173,8 +173,6 @@ ARGS.output_folder = 'ras_to_bounds/' - mediumPath = utils.FilePath("medium", ".csv", prefix = 'ras_to_bounds_medium') - if(ARGS.ras_selector == True): ras = read_dataset(ARGS.input_ras, "ras dataset") ras.replace("None", None, inplace=True) @@ -202,8 +200,6 @@ else: generate_bounds(model, medium) - mediumDf = pd.DataFrame.from_dict(medium, orient='index', columns=["value"]) - mediumDf.to_csv(mediumPath.show(), sep = '\t') pass ##############################################################################