Skip to content

Commit

Permalink
LinkedAdapter.__repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Dec 19, 2023
1 parent d4f7cae commit 5f3d9e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cutadapt/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,9 @@ def __init__(
self.front_adapter.name = self.name
self.back_adapter = back_adapter

def __repr__(self):
return f"{self.__class__.__name__}(front_adapter={self.front_adapter}, back_adapter={self.back_adapter})"

def descriptive_identifier(self) -> str:
return "linked"

Expand Down

0 comments on commit 5f3d9e9

Please sign in to comment.