From 43f59a22b13d025de2fe1d99311698db1823f4f1 Mon Sep 17 00:00:00 2001 From: LaraFuhrmann <55209716+LaraFuhrmann@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:29:05 +0100 Subject: [PATCH] check --- viloca/local_haplotype_inference/use_quality_scores/cavi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viloca/local_haplotype_inference/use_quality_scores/cavi.py b/viloca/local_haplotype_inference/use_quality_scores/cavi.py index 7b12fdc..f9bc432 100644 --- a/viloca/local_haplotype_inference/use_quality_scores/cavi.py +++ b/viloca/local_haplotype_inference/use_quality_scores/cavi.py @@ -158,7 +158,7 @@ def run_cavi( break elif (history_elbo[-2] > elbo) and np.abs(elbo - history_elbo[-2]) > 1e-08: exit_message = "Error: ELBO is decreasing." - #break + break elif np.abs(elbo - history_elbo[-2]) < convergence_threshold: converged = True exit_message = "ELBO converged."