Skip to content

Commit

Permalink
R1&2 in parse pair type substituted with R1&R2 everywhere in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
agalitsyna committed Jan 14, 2025
1 parent 9a0b894 commit 8737528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pairtools/lib/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ def parse_complex_walk(
for i_overlapping in range(current_right_pair - 1):
idx_left = n_algns1 - current_right_pair + i_overlapping
idx_right = n_algns2 - 1 - i_overlapping
pair_index = (idx_left + 1, "R1&2")
pair_index = (idx_left + 1, "R1&R2")
output_pairs.append(
format_pair(
algns1[idx_left],
Expand Down Expand Up @@ -1169,9 +1169,9 @@ def expand_pairs(pairs_list, max_expansion_depth=None):
pair_type = "R1-2"
elif pair_type1 == pair_type2:
pair_type = pair_type1
elif pair_type1 == "R1&2":
elif pair_type1 == "R1&R2":
pair_type = pair_type2
elif pair_type2 == "R1&2":
elif pair_type2 == "R1&R2":
pair_type = pair_type1
else:
raise ValueError(
Expand Down

0 comments on commit 8737528

Please sign in to comment.