Skip to content

Commit

Permalink
add db.open() in analysis __enter__
Browse files Browse the repository at this point in the history
  • Loading branch information
edisj committed Jul 26, 2024
1 parent a0e33a5 commit 15bad5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mdaadb/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def results(self) -> Results:
return self._analysis.results

def __enter__(self):
self.db.open()
return self

def __exit__(self, *args):
Expand Down

0 comments on commit 15bad5b

Please sign in to comment.