Skip to content

Commit feea315

Browse files
committed
fix file path
1 parent ba96980 commit feea315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chebai/preprocessing/datasets/pubchem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def _set_processed_data_props(self):
191191
- self._num_of_labels: Number of target labels in the dataset.
192192
- self._feature_vector_size: 0.
193193
"""
194-
with open(self.processed_dir_main, "classes.txt") as f:
194+
with open(os.path.join(self.processed_dir_main, "classes.txt")) as f:
195195
classes = [f.strip() for f in f.readlines() if f.strip()]
196196

197197
self._num_of_labels = len(classes)

0 commit comments

Comments
 (0)