Skip to content

Commit b922a4e

Browse files
authored
Fix load data function (#180)
1 parent 592d76a commit b922a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aequitas/flow/datasets/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _validate_splits(self) -> None:
152152
def load_data(self) -> None:
153153
"""Load the dataset."""
154154
self.logger.info("Loading data.")
155-
if hasattr(self, "data"):
155+
if self._data is not None:
156156
return
157157
if self.extension == "parquet":
158158
read_method = pd.read_parquet

0 commit comments

Comments
 (0)