Skip to content

Commit b45b266

Browse files
committed
add changes from out_dim PR (#74 in python-chebai)
1 parent 9c8521f commit b45b266

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chebai/preprocessing/datasets/deepGO/go_uniprot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def _name(self) -> str:
770770
return f"{threshold_part}{self.max_sequence_length}"
771771

772772
# ------------------------------ Phase: Prepare data -----------------------------------
773-
def prepare_data(self, *args: Any, **kwargs: Any) -> None:
773+
def _perform_data_preparation(self, *args: Any, **kwargs: Any) -> None:
774774
"""
775775
Checks for the existence of migrated DeepGO data in the specified directory.
776776
Raises an error if the required data file is not found, prompting

chebai/preprocessing/datasets/deepGO/protein_pretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self, **kwargs):
5555
)
5656

5757
# ------------------------------ Phase: Prepare data -----------------------------------
58-
def prepare_data(self, *args: Any, **kwargs: Any) -> None:
58+
def _perform_data_preparation(self, *args: Any, **kwargs: Any) -> None:
5959
"""
6060
Prepares the data by downloading and parsing Swiss-Prot data if not already available. Saves the processed data
6161
for further use.

0 commit comments

Comments
 (0)