Skip to content

Commit

Permalink
Update extractors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Avsecz committed Aug 11, 2018
1 parent 0b9498a commit 69d4d67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions genomelake/extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,8 @@ def _bigwig_extractor(bw, intervals, out=None, **kwargs):
nan_to_zero(out[index])
return out

def __del__(self):
return self.close()

def close(self):
return self.bw.close()

0 comments on commit 69d4d67

Please sign in to comment.