diff --git a/src/pydna/dseq.py b/src/pydna/dseq.py index 71e524a8..034f34b0 100644 --- a/src/pydna/dseq.py +++ b/src/pydna/dseq.py @@ -1499,8 +1499,8 @@ def get_cutsite_pairs(self, cutsites): Special cases: - Single cutsite on circular sequence: returns a pair where both cutsites are the same - Linear sequence: - - creates a new left_cut on the first pair to represent the left edge of the sequence as it is. - - creates a new right_cut on the last pair to represent the right edge of the sequence as it is. + - creates a new left_cut on the first pair equal to `None` to represent the left edge of the sequence as it is. + - creates a new right_cut on the last pair equal to `None` to represent the right edge of the sequence as it is. - In both new cuts, the enzyme is set to None to indicate that the cut is not made by an enzyme. Parameters @@ -1509,7 +1509,7 @@ def get_cutsite_pairs(self, cutsites): Returns ------- - list[tuple[tuple[tuple[int,int], _RestrictionType]],tuple[tuple[int,int], _RestrictionType]] + list[tuple[tuple[tuple[int,int], _RestrictionType]|None],tuple[tuple[int,int], _RestrictionType]|None] Examples --------