Commit 0442f4cd authored by Marc Arene's avatar Marc Arene
Browse files

fix condition to discard phase1 samples or not

parent dd31153c
......@@ -1147,7 +1147,7 @@ if __name__ == '__main__':
# an empty file will be saved and the future load will see
# sampler.samples = [] which will bug the derivations of scales
# from the covariance matrix
if n_traj_already_run == sampler.n_traj_fit:
if sampler.n_traj_hmc_tot == sampler.n_traj_fit:
cut.logger.info(f"Only Phase I and II were asked to be run as n_traj_fit = {sampler.n_traj_fit}. Quitting here.")
sys.exit()
cut.logger.info("----------------------------------------------------------------------------")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment