We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec4a62 commit 0dead35Copy full SHA for 0dead35
1 file changed
src/graphnet/data/dataset/lmdb/lmdb_dataset.py
@@ -169,9 +169,9 @@ def _post_init(self) -> None:
169
if self._pre_computed_representation is None:
170
# Only check for missing columns if using raw tables
171
self._remove_missing_columns()
172
- self._close_connection()
173
if self._pre_computed_representation is not None:
174
self._identify_missing_truth_labels()
+ self._close_connection()
175
176
def _identify_missing_truth_labels(self) -> None:
177
"""Identify missing truth labels in the pre-computed representation."""
0 commit comments