Skip to content

Commit

Permalink
BUG: fix bug in case 2 resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed Sep 3, 2024
1 parent 5a99c72 commit 9b33d0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reneo/workflow/scripts/reneo.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,17 +262,17 @@ def worker_resolve_components(component_queue, results_queue, **kwargs):

if (
unitig1_len > unitig2_len
and unitig1_len > minlength
and unitig2_name in self_looped_nodes
and unitig1_len > kwargs["minlength"]
and unitig2_name in kwargs["self_looped_nodes"]
):
unitig_to_consider = unitig1
unitig_name = unitig1_name
repeat_unitig = unitig2
repeat_unitig_name = unitig2_name
elif (
unitig2_len > unitig1_len
and unitig2_len > minlength
and unitig1_name in self_looped_nodes
and unitig2_len > kwargs["minlength"]
and unitig1_name in kwargs["self_looped_nodes"]
):
unitig_to_consider = unitig2
unitig_name = unitig2_name
Expand Down

0 comments on commit 9b33d0a

Please sign in to comment.