Skip to content

Commit

Permalink
Nedded to have initialized values for adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Alneberg committed Feb 13, 2024
1 parent e273ca6 commit 87bb9ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anglerfish/demux/adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ def __init__(self, sequence, name, delim, index):
self.name = name
self.delim = delim
self.index = index
self.umi_after = 0
self.umi_before = 0
self.len_after_index = 0
self.len_before_index = 0


# Dynamically assign attributes
self.umi = re.findall(udelim, self.sequence)
Expand Down

0 comments on commit 87bb9ff

Please sign in to comment.