Mercurial > repos > bimib > marea_2_0
changeset 132:260d6a6b995c draft
Uploaded
author | luca_milaz |
---|---|
date | Tue, 02 Jul 2024 21:56:34 +0000 |
parents | d8810d01c805 |
children | 17f3c6ab2425 |
files | marea_2_0/flux_sampling.py |
diffstat | 1 files changed, 5 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py Tue Jul 02 21:41:48 2024 +0000 +++ b/marea_2_0/flux_sampling.py Tue Jul 02 21:56:34 2024 +0000 @@ -40,14 +40,10 @@ choices = [utils.FileFormat.CSV, utils.FileFormat.PICKLE], required = True, help = "Extension of all output files") - parser.add_argument('-in', '--input', + parser.add_argument('-in', '--inputs', required = True, help = 'inputs model') - parser.add_argument('-mn', '--model_name', - required = True, - help = 'model_names') - parser.add_argument('-a', '--algorithm', type = str, choices = ['OPTGP', 'CBS'], @@ -197,15 +193,15 @@ ARGS.output_folder = 'flux_sampling' utils.logWarning( - ARGS.input[0], + ARGS.inputs, ARGS.out_log) # load custom model - model1 = load_custom_model( - utils.FilePath.fromStrPath(ARGS.input[0]), ARGS.model_name[0].ext) + '''model1 = load_custom_model( + utils.FilePath.fromStrPath(ARGS.inputs[0]), ARGS.model_name[0].ext) model2 = load_custom_model( - utils.FilePath.fromStrPath(ARGS.input[1]), ARGS.model_name[1].ext) + utils.FilePath.fromStrPath(ARGS.input[1]), ARGS.model_name[1].ext)'''