Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed May 25, 2024
1 parent ccdef22 commit 014990f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gget/gget_mutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def deletion_mutation(
mut_column,
seq_id_column,
):
global mut_idx_outside_seq
try:
# Accessing the sequence to trigger IndexError if out of bounds
_ = row["full_sequence"][starting_nucleotide_position_index_0]
Expand All @@ -209,6 +210,7 @@ def delins_mutation(
mut_column,
seq_id_column,
):
global mut_idx_outside_seq
try:
# Accessing the sequence to trigger IndexError if out of bounds
_ = row["full_sequence"][starting_nucleotide_position_index_0]
Expand Down Expand Up @@ -239,6 +241,7 @@ def insertion_mutation(
mut_column,
seq_id_column,
):
global mut_idx_outside_seq
try:
# Accessing the sequence to trigger IndexError if out of bounds
_ = row["full_sequence"][starting_nucleotide_position_index_0]
Expand Down Expand Up @@ -269,6 +272,7 @@ def duplication_mutation(
mut_column,
seq_id_column,
):
global mut_idx_outside_seq
try:
# Accessing the sequence to trigger IndexError if out of bounds
_ = row["full_sequence"][starting_nucleotide_position_index_0]
Expand Down Expand Up @@ -300,6 +304,7 @@ def inversion_mutation(
mut_column,
seq_id_column,
):
global mut_idx_outside_seq
try:
# Accessing the sequence to trigger IndexError if out of bounds
_ = row["full_sequence"][starting_nucleotide_position_index_0]
Expand Down

0 comments on commit 014990f

Please sign in to comment.