Skip to content

Commit

Permalink
fix(mi): straglr again
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 13, 2024
1 parent a65b061 commit 22c07e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strkit/mi/straglr.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def make_calls_dict(self, ph, contig, cr: Optional[MIContigResult] = None):
k = (line[0], int(line[1]), int(line[2]))

orig_motif: Optional[tuple[int, int, list[str]]] = next(
iter(self.get_loci_overlapping(k[0], k[1], k[2], True)), (None,)
)[0]
iter(self.get_loci_overlapping(k[0], k[1], k[2], True)), None
)
orig_motif: Optional[str] = orig_motif[-1][0] if orig_motif else None

if not orig_motif:
Expand Down

0 comments on commit 22c07e6

Please sign in to comment.