Skip to content

Commit df02f55

Browse files
committed
pre-commit formatting
1 parent 2218fc8 commit df02f55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The `classes_path` is the path to the dataset's `raw/classes.txt` file that cont
8181
You can evaluate a model trained on the ontology extension task in one of two ways:
8282

8383
### 1. Using the Jupyter Notebook
84-
An example notebook is provided at `tutorials/eval_model_basic.ipynb`.
84+
An example notebook is provided at `tutorials/eval_model_basic.ipynb`.
8585
- Load your finetuned model and run the evaluation cells to compute metrics on the test set.
8686

8787
### 2. Using the Lightning CLI

chebai/preprocessing/datasets/chebi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ def __init__(
144144
**kwargs,
145145
):
146146
if bool(augment_smiles):
147-
assert int(aug_smiles_variations) > 0, (
148-
"Number of variations must be greater than 0"
149-
)
147+
assert (
148+
int(aug_smiles_variations) > 0
149+
), "Number of variations must be greater than 0"
150150
aug_smiles_variations = int(aug_smiles_variations)
151151

152152
if not kwargs.get("splits_file_path", None):

0 commit comments

Comments
 (0)