Skip to content

Commit

Permalink
Merge pull request #278 from RaulPPelaez/standardize
Browse files Browse the repository at this point in the history
Mark standardize as deprecated
  • Loading branch information
RaulPPelaez authored Feb 15, 2024
2 parents 0a2106b + baebc1e commit a7f3f84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions torchmdnet/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ def setup(self, stage):
self.test_dataset = Subset(self.dataset, self.idx_test)

if self.hparams["standardize"]:
# Mark as deprecated
warnings.warn(
"The standardize option is deprecated and will be removed in the future. ",
DeprecationWarning,
)
self._standardize()

def train_dataloader(self):
Expand Down

0 comments on commit a7f3f84

Please sign in to comment.