Skip to content

Commit

Permalink
converted a line back and removed a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed Aug 15, 2022
1 parent 7671487 commit 64fa7d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bin/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
match_start = int(end2) + int(end_diff)
match_end = int(start2) - int(start_diff)

#divided[chr][start]
if str(match_start) not in divided[chr2].keys():
for potential_start in divided[chr2].keys():
if (int(potential_start) - 20) <= match_start <= (int(potential_start) + 20):
Expand All @@ -58,9 +57,8 @@
for numbers in group.keys():
if saved_line in group[numbers]['list']:
new_group = False
if str(match_start) in divided[chr].keys():
if (saved_line2 not in group[numbers]['list']):
group[numbers]['list'].append(saved_line2)
if (saved_line2 not in group[numbers]['list']) and (start2 in divided[chr2].keys()):
group[numbers]['list'].append(saved_line2)
elif saved_line2 in group[numbers]['list']:
new_group = False
if saved_line not in group[numbers]['list']:
Expand Down

0 comments on commit 64fa7d8

Please sign in to comment.