From fe49501acb9925922fe39487f78ec0492b87fee5 Mon Sep 17 00:00:00 2001 From: Sergey Koren Date: Thu, 19 Dec 2024 10:48:37 -0500 Subject: [PATCH] fix int conversion --- src/scripts/fix_haplogaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/fix_haplogaps.py b/src/scripts/fix_haplogaps.py index 95b724f..d6e93a0 100755 --- a/src/scripts/fix_haplogaps.py +++ b/src/scripts/fix_haplogaps.py @@ -109,7 +109,7 @@ def parse_current_alns(tip_support, alns): wanted_gap_length = t[1] assert wanted_cut_pos >= 0 if wanted_gap_length >= len(node_seqs[key[0][1:]]) or wanted_gap_length >= len(node_seqs[key[1][1:]]): - sys.stderr.write("can't fix " + key[0] + " " + key[1] + " due to overlap containing node (wanted " + str(wanted_gap_length) + ", node lengths " + str(len(node_seqs[key[0][1:]])) + ", " + str(len(node_seqs[key[1][1:]]) + ")")) + sys.stderr.write("can't fix " + key[0] + " " + key[1] + " due to overlap containing node (wanted " + str(wanted_gap_length) + ", node lengths " + str(len(node_seqs[key[0][1:]])) + ", " + str(len(node_seqs[key[1][1:]])) + ")") continue if wanted_cut_pos == 0: sys.stderr.write("mend " + key[0] + " " + key[1] + "\n")