From 56c70a7dafe098a0dfe0c240f1716f72dafb36d5 Mon Sep 17 00:00:00 2001 From: Vijini Mallawaarachchi Date: Tue, 3 Sep 2024 16:53:54 +0930 Subject: [PATCH] BUG: fix bug in recording resolved unitigs --- reneo/workflow/scripts/reneo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reneo/workflow/scripts/reneo.py b/reneo/workflow/scripts/reneo.py index 42f6627..1d169aa 100644 --- a/reneo/workflow/scripts/reneo.py +++ b/reneo/workflow/scripts/reneo.py @@ -284,8 +284,8 @@ def worker_resolve_components(component_queue, results_queue, **kwargs): f"Case 2 component: {unitig1_name} is {unitig1_len} bp long and {unitig2_name} is {unitig2_len} bp long." ) cycle_number = 1 - kwargs["resolved_edges"].add(unitig_to_consider) - kwargs["resolved_edges"].add(repeat_unitig) + results["resolved_edges"].add(unitig_to_consider) + results["resolved_edges"].add(repeat_unitig) # Get repeat count repeat_count = max(