# HG changeset patch # User luca_milaz # Date 1719960525 0 # Node ID a7df92bbb04f77f9b2c95089e8e534553da334f4 # Parent de7f486ab399bf15ea2036dfc7f4cb9fb933a9b1 Uploaded diff -r de7f486ab399 -r a7df92bbb04f marea_2_0/flux_sampling.py --- 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)