Skip to content

Commit

Permalink
Update scadnano.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Dec 2, 2022
1 parent 8c979a8 commit e55609d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -4715,10 +4715,10 @@ def find_overlapping_domains_on_helix(helix: Helix) -> List[Tuple[Domain, Domain
# [--r_dom--->
# reverse_domain can't overlap *next* forward_domain, so safe to remove
reverse_domains.popleft()
if len(reverse_domains) == 0:
break
else:
if len(reverse_domains) > 0:
reverse_domain = reverse_domains[0]
else:
break
else:
# [---f_dom---> [---next_f_dom-->
# [----r_dom->[--next_r_dom---->
Expand Down

0 comments on commit e55609d

Please sign in to comment.