Mercurial > repos > bimib > marea_2_0
changeset 146:a7df92bbb04f draft
Uploaded
author | luca_milaz |
---|---|
date | Tue, 02 Jul 2024 22:48:45 +0000 |
parents | de7f486ab399 |
children | 54e018e82447 |
files | marea_2_0/flux_sampling.py |
diffstat | 1 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py Tue Jul 02 22:48:33 2024 +0000 +++ b/marea_2_0/flux_sampling.py Tue Jul 02 22:48:45 2024 +0000 @@ -45,6 +45,11 @@ type=str, help = 'inputs model') + parser.add_argument('-in', '--names', + required = True, + type=str, + help = 'inputs model ids') + parser.add_argument('-a', '--algorithm', type = str, choices = ['OPTGP', 'CBS'], @@ -195,12 +200,19 @@ utils.logWarning( - utils.FilePath.fromStrPath(ARGS.inputs.split(",")[0]), + utils.FilePath.fromStrPath(ARGS.inputs), + ARGS.out_log) + + utils.logWarning( + utils.FilePath.fromStrPath(ARGS.names), ARGS.out_log) # load custom model - model1 = load_custom_model(utils.FilePath.fromStrPath(ARGS.inputs), "xml") + #model1 = load_custom_model(utils.FilePath.fromStrPath(ARGS.inputs), "xml") + + #model = load_custom_model( + #utils.FilePath.fromStrPath(ARGS.inputs), utils.FilePath.fromStrPath(ARGS.name).ext)