changeset 161:8348445b68ff draft

Uploaded
author luca_milaz
date Wed, 03 Jul 2024 17:19:40 +0000
parents 8376012c51a5
children db1f53089dfe
files marea_2_0/flux_sampling.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py	Wed Jul 03 17:00:43 2024 +0000
+++ b/marea_2_0/flux_sampling.py	Wed Jul 03 17:19:40 2024 +0000
@@ -164,10 +164,10 @@
     
     name = model_name.split('.')[0]
     
-    if ARGS.sampling_algorithm == 'OPTGP':
+    if ARGS.algorithm == 'OPTGP':
         OPTGP_sampler(model, name, ARGS.n_samples, ARGS.thinning, ARGS.n_batches, ARGS.seed)
 
-    elif ARGS.sampling_algorithm == 'CBS':
+    elif ARGS.algorithm == 'CBS':
         CBS_sampler(model,  name, ARGS.n_samples, ARGS.n_batches, ARGS.seed)
     
     pass