From b555583bae1032d38d6e5b36c39e80d43a2d30e4 Mon Sep 17 00:00:00 2001 From: Alejandro Velez-Arce Date: Sun, 18 Aug 2024 23:05:34 -0400 Subject: [PATCH] mend --- tdc/single_pred/mpc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tdc/single_pred/mpc.py b/tdc/single_pred/mpc.py index 199e5cef..c935b661 100644 --- a/tdc/single_pred/mpc.py +++ b/tdc/single_pred/mpc.py @@ -15,6 +15,7 @@ from ..utils import print_sys, fuzzy_search, property_dataset_load from ..metadata import dataset_names + class MPC(single_pred_dataset.DataLoader): def __init__(self, name, path="./data"): @@ -27,7 +28,9 @@ def get_data(self): self.data = Data(self.name) self.data(Descriptors.SMILES) except: - raise Exception("could not find dataset {}. For list of MoleculeAce datasets see https://github.com/bidd-group/MPCD/tree/main?tab=readme-ov-file#overview-of-the-mpc-benchmark-datasets".format(self.name)) + raise Exception( + "could not find dataset {}. For list of MoleculeAce datasets see https://github.com/bidd-group/MPCD/tree/main?tab=readme-ov-file#overview-of-the-mpc-benchmark-datasets" + .format(self.name)) return self.data def get_split(self):