Mercurial > repos > bimib > marea_2_0
changeset 168:552e5f44edaa draft
Uploaded
author | luca_milaz |
---|---|
date | Wed, 03 Jul 2024 18:20:43 +0000 |
parents | 4dfad25d9f68 |
children | 33cf34075557 |
files | marea_2_0/flux_sampling.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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()