Skip to content

Commit

Permalink
Merge pull request #60 from Genentech/tdc-dataset-fix
Browse files Browse the repository at this point in the history
ChEMBL, ZINC dataset y_keys and separator
  • Loading branch information
karinazad authored Jan 22, 2025
2 parents 34770f9 + b6f10a6 commit b21da66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/beignet/datasets/_chembl_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def __init__(
suffix="csv",
checksum="md5:b0cedfe468c6331487f7084236944bac",
x_keys=["smiles"],
y_keys=[],
y_keys=None,
transform=transform,
)
2 changes: 1 addition & 1 deletion src/beignet/datasets/_tdc_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

match path.suffix:
case ".csv":
self._data = pandas.read_csv(path)
self._data = pandas.read_csv(path, sep=None)
case ".pkl":
self._data = pandas.read_pickle(path)
case ".tab" | ".tsv":
Expand Down
2 changes: 1 addition & 1 deletion src/beignet/datasets/_zinc_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def __init__(
suffix="tsv",
checksum="md5:9e4754d72db297d496def3498a926979",
x_keys=["smiles"],
y_keys=[],
y_keys=None,
transform=transform,
)

0 comments on commit b21da66

Please sign in to comment.