Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornFJohansson committed Feb 1, 2024
1 parent f6db326 commit a151520
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pydna/dseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,9 @@ def cut(self, *enzymes):
# argument is probably a RestrictionBatch
enzymecuts = []
for e in enzymes[0]:
cuts = e.search(_Seq(pad + dsseq.watson + dsseq.watson[: e.size - 1] + pad) if self.circular else dsseq)
cuts = e.search(
_Seq(pad + dsseq.watson + dsseq.watson[: e.size - 1] + pad) if self.circular else dsseq
)
enzymecuts.append((cuts, e))
enzymecuts.sort()
enzymes = [e for (c, e) in enzymecuts if c]
Expand Down

0 comments on commit a151520

Please sign in to comment.