File tree Expand file tree Collapse file tree 2 files changed +1
-24
lines changed
chebai/preprocessing/datasets Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -1010,8 +1010,7 @@ def _generate_dynamic_splits(self) -> None:
10101010
10111011 combined_split_assignment = pd .concat (split_assignment_list , ignore_index = True )
10121012 combined_split_assignment .to_csv (
1013- os .path .join (self .processed_dir_main , self .splits_file_name ),
1014- index = False ,
1013+ os .path .join (self .processed_dir_main , "splits.csv" ), index = False
10151014 )
10161015
10171016 # Store the splits in class variables
@@ -1271,13 +1270,3 @@ def processed_file_names_dict(self) -> dict:
12711270 if self .n_token_limit is not None :
12721271 return {"data" : f"data_maxlen{ self .n_token_limit } .pt" }
12731272 return {"data" : "data.pt" }
1274-
1275- @property
1276- def splits_file_name (self ) -> str :
1277- """
1278- Returns the name of the splits file.
1279-
1280- Returns:
1281- str: The name of the splits file.
1282- """
1283- return "splits.csv"
Original file line number Diff line number Diff line change @@ -660,18 +660,6 @@ def processed_file_names_dict(self) -> dict:
660660 }
661661 return {"data" : f"aug_data_var{ self .aug_smiles_variations } .pt" }
662662
663- @property
664- def splits_file_name (self ) -> str :
665- """
666- Returns the name of the splits file.
667-
668- Returns:
669- str: The name of the splits file.
670- """
671- if self .augment_smiles :
672- return f"aug_splits_var{ self .aug_smiles_variations } .csv"
673- return super ().splits_file_name
674-
675663
676664class JCIExtendedBase (_ChEBIDataExtractor ):
677665 @property
You can’t perform that action at this time.
0 commit comments