Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera authored and BjornFJohansson committed Jan 26, 2024
1 parent 7147b93 commit c6ac1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pydna/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def shift_location(original_location, shift, lim):
newparts.append(_sl(ns, ne, strand))
else:
parttuple = (_sl(ns, lim, strand), _sl(0, ne, strand))
newparts.extend(parttuple if strand == 1 else parttuple[::-1])
newparts.extend(parttuple if strand != -1 else parttuple[::-1])
try:
newloc = _cl(newparts)
except ValueError:
Expand Down

0 comments on commit c6ac1a7

Please sign in to comment.