Skip to content

Commit

Permalink
Add SPICE 1.1.4, remove leftover remove_ref_energy in some datasets (#…
Browse files Browse the repository at this point in the history
…303)

* Add SPICE 1.1.4
Remove bogus remove_ref_energy param

* Remove a couple of remove_ref_energy instances in Datasets
  • Loading branch information
RaulPPelaez authored Mar 4, 2024
1 parent 2429c94 commit fae79bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion torchmdnet/datasets/genentech.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def __init__(
transform,
pre_transform,
pre_filter,
remove_ref_energy=False,
properties=("y"),
)

Expand Down
1 change: 0 additions & 1 deletion torchmdnet/datasets/qm9q.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(
transform,
pre_transform,
pre_filter,
remove_ref_energy=False,
properties=("y", "neg_dy", "q", "pq", "dp"),
)

Expand Down
6 changes: 4 additions & 2 deletions torchmdnet/datasets/spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class SPICE(MemmappedDataset):

"""
SPICE dataset (https://github.com/openmm/spice-dataset)
Expand Down Expand Up @@ -65,6 +64,10 @@ class SPICE(MemmappedDataset):
"url": "https://zenodo.org/record/7606550/files",
"file": "SPICE-1.1.3.hdf5",
},
"1.1.4": {
"url": "https://zenodo.org/records/8222043/files",
"file": "SPICE-1.1.4.hdf5",
},
}

@property
Expand Down Expand Up @@ -103,7 +106,6 @@ def __init__(
transform,
pre_transform,
pre_filter,
remove_ref_energy=False,
properties=("y", "neg_dy"),
)

Expand Down

0 comments on commit fae79bd

Please sign in to comment.