Skip to content

Commit 9aca52f

Browse files
authored
Merge pull request #43 from Juke34/jacusa2
add missing assign sign and base class
2 parents 2b1c7bf + ba76997 commit 9aca52f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/stats/site_variant_readers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def parse_strand(self) -> int:
191191
case _:
192192
raise Exception(f"Invalid strand value: {strand_str}")
193193

194-
class Jacusa2Reader():
194+
class Jacusa2Reader(RNAVariantReader):
195195
def __init__(self, file_handle: TextIO) -> None:
196196
self.file_handle: TextIO = file_handle
197197

@@ -220,7 +220,7 @@ def read(self) -> Optional[SiteVariantData]:
220220
case '+':
221221
strand = 1
222222
case '-':
223-
strand -1
223+
strand = -1
224224

225225
frequencies=np.int32(parts[JACUSA_FIELDS_INDEX["bases11"]].split(',') + [0])
226226

0 commit comments

Comments
 (0)