# HG changeset patch # User luca_milaz # Date 1720030843 0 # Node ID 552e5f44edaa4a42939eb41d9d4604519906bc61 # Parent 4dfad25d9f6875c0ba92a497a9bf3f5c6ab0ccd1 Uploaded diff -r 4dfad25d9f68 -r 552e5f44edaa marea_2_0/flux_sampling.py --- a/marea_2_0/flux_sampling.py Wed Jul 03 18:03:15 2024 +0000 +++ b/marea_2_0/flux_sampling.py Wed Jul 03 18:20:43 2024 +0000 @@ -37,7 +37,7 @@ parser.add_argument( "-of", "--output_format", - type = utils.FileFormat.fromExt, default = utils.FileFormat.PICKLE, + type = utils.FileFormat.fromExt, choices = [utils.FileFormat.CSV, utils.FileFormat.PICKLE], required = True, help = "Extension of all output files") @@ -54,27 +54,27 @@ parser.add_argument('-a', '--algorithm', type = str, choices = ['OPTGP', 'CBS'], - default = 'CBS', + required = True, help = 'choose sampling algorithm') parser.add_argument('-th', '--thinning', type = int, - default = 100, + required = True, help = 'choose thinning') parser.add_argument('-ns', '--n_samples', type = int, - default = 1000, + required = True, help = 'choose how many samples') parser.add_argument('-sd', '--seed', type = int, - default = 0, + required = True, help = 'seed') parser.add_argument('-nb', '--n_batches', type = int, - default = 1, + required = True, help = 'choose how many batches') ARGS = parser.parse_args()