# HG changeset patch # User luca_milaz # Date 1719959405 0 # Node ID 56e3758679bbd6d1689c9fba0cb05dedaecf389f # Parent 6b916004ae94925fe6531b7dd0bbf93c528c3ec1 Uploaded diff -r 6b916004ae94 -r 56e3758679bb marea_2_0/flux_sampling.py --- a/marea_2_0/flux_sampling.py Tue Jul 02 22:09:29 2024 +0000 +++ b/marea_2_0/flux_sampling.py Tue Jul 02 22:30:05 2024 +0000 @@ -42,6 +42,7 @@ parser.add_argument('-in', '--inputs', required = True, + type=str, help = 'inputs model') parser.add_argument('-a', '--algorithm', @@ -194,16 +195,12 @@ utils.logWarning( - ARGS.inputs, + utils.FilePath.fromStrPath(ARGS.inputs.split(",")[0]), ARGS.out_log) # load custom model - model1 = load_custom_model( - utils.FilePath.fromStrPath(ARGS.inputs.split(",")[0])) - model2 = load_custom_model( - utils.FilePath.fromStrPath(ARGS.inputs.split(",")[1])) - + model1 = load_custom_model(utils.FilePath.fromStrPath(ARGS.inputs.split(",")[0]))