Skip to content

Commit

Permalink
add a check to see if i exceeds the length of mv array
Browse files Browse the repository at this point in the history
  • Loading branch information
hiruna72 committed Mar 25, 2024
1 parent 650954e commit 2f24ff8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reform.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def run(args):
kmer_idx = 0

while move_count < sig_move_offset + 1:
if i >= len(mv):
print(sam_record.query_name)
print("i >= len(mv)")
value = mv[i]
if value == 1:
move_count += 1
Expand Down

0 comments on commit 2f24ff8

Please sign in to comment.