Skip to content

Commit

Permalink
fix: properly initialize file handler (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Jun 13, 2024
1 parent c4e620b commit da4ca24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biocommons/seqrepo/fastadir/fabgz.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, filename: str) -> None:
super(FabgzWriter, self).__init__()

self.filename = filename
self.fh = None
self._fh = None
self._basepath, suffix = os.path.splitext(self.filename)
if suffix != ".bgz":
raise RuntimeError("Path must end with .bgz")
Expand Down

0 comments on commit da4ca24

Please sign in to comment.