Skip to content

Commit

Permalink
Merge pull request #270 from RaulPPelaez/simplify_data
Browse files Browse the repository at this point in the history
Small fix for OSX
  • Loading branch information
RaulPPelaez committed Feb 1, 2024
2 parents 7686fd8 + 35f9ebf commit d921666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get(self, idx):
return data

def __getattr__(self, __name):
return getattr(self.__dict__["_dataset"], __name)
return getattr(self.__getattribute__("_dataset"), __name)


class DataModule(LightningDataModule):
Expand Down

0 comments on commit d921666

Please sign in to comment.