Skip to content

Commit

Permalink
feat: added temporary exception handling for devset
Browse files Browse the repository at this point in the history
  • Loading branch information
laserkelvin committed Aug 5, 2024
1 parent fc74379 commit b5e9bb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions matsciml/datasets/materials_project/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,13 @@ def data_from_key(
self.target_keys = target_types
return return_dict

@classmethod
def from_devset(cls, transforms: list[Callable] | None = None, **kwargs):
"""Override the devset call, at least temporarily."""
raise NotImplementedError(
"Materials Trajectory does not have a devset available."
)


if _has_pyg:
from torch_geometric.data import Batch, Data
Expand Down

0 comments on commit b5e9bb6

Please sign in to comment.