From f172a5e1853cbc8e8a2563f9077c0bb2e8148a98 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Mon, 21 Oct 2024 08:05:33 -0400 Subject: [PATCH] debug --- strkit/mi/longtr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/strkit/mi/longtr.py b/strkit/mi/longtr.py index d692b28..89d7573 100644 --- a/strkit/mi/longtr.py +++ b/strkit/mi/longtr.py @@ -24,6 +24,8 @@ def calculate_contig(self, contig: str) -> MIContigResult: # We want all common loci, so loop through the child and then look for the loci in the parent calls + print(self._loci_dict) + for cv in cvf.fetch(contig): mv = next(mvf.fetch(contig, cv.start, cv.stop), None) fv = next(fvf.fetch(contig, cv.start, cv.stop), None) @@ -33,6 +35,7 @@ def calculate_contig(self, contig: str) -> MIContigResult: k = (contig, cv.start, cv.stop) if self.should_skip_locus(*k): + print("should skip", k) continue cr.seen_locus(*k)