diff --git a/mdaadb/analysis.py b/mdaadb/analysis.py index a6573aa..0213bd4 100644 --- a/mdaadb/analysis.py +++ b/mdaadb/analysis.py @@ -150,6 +150,7 @@ def results(self) -> Results: return self._analysis.results def __enter__(self): + self.db.open() return self def __exit__(self, *args):