Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert aggressive text replacement from PyCharm
My editor incorrectly renamed too many instances of 'data_file' to
'arff_file'.
  • Loading branch information
PGijsbers committed Jan 15, 2021
commit 9453fee4303964a34256feaac2418d4149d66150
6 changes: 3 additions & 3 deletions openml/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def __eq__(self, other):
"upload_date",
"url",
"dataset",
"arff_file",
"data_file",
}

# check that the keys are identical
Expand All @@ -289,7 +289,7 @@ def __eq__(self, other):
return all(self.__dict__[key] == other.__dict__[key] for key in self_keys)

def _download_data(self) -> None:
""" Download ARFF data file to standard cache directory. Set `self.arff_file`. """
""" Download ARFF data file to standard cache directory. Set `self.data_file`. """
# import required here to avoid circular import.
from .functions import _get_dataset_arff

Expand All @@ -298,7 +298,7 @@ def _download_data(self) -> None:
def _get_arff(self, format: str) -> Dict:
"""Read ARFF file and return decoded arff.

Reads the file referenced in self.arff_file.
Reads the file referenced in self.data_file.

Parameters
----------
Expand Down