Skip to content

Commit

Permalink
[fix] notebook descriptions (#92)
Browse files Browse the repository at this point in the history
* [fix] notebook descriptions

* Added to changelog

* change pdb to cath
  • Loading branch information
kierandidi authored Apr 10, 2024
1 parent 0e57245 commit 61294d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 0.2.6 (UNRELEASED)

### Datasets
* Correct stage-based conditions mentioned in notebook tutorials [#92](https://github.com/a-r-j/ProteinWorkshop/pull/92)
* Add stage-based conditions to `setup` in `ProteinDataModule` [#72](https://github.com/a-r-j/ProteinWorkshop/pull/72)
* Improves support for datamodules with multiple test sets. Generalises this to support GO and FOLD. Also adds multiple seq ID.-based splits for GO. [#72](https://github.com/a-r-j/ProteinWorkshop/pull/72)
* Add redownload checks for already downloaded datasets and harmonise pdb download interface [#86](https://github.com/a-r-j/ProteinWorkshop/pull/86)
Expand Down
4 changes: 2 additions & 2 deletions notebooks/adding_new_dataset_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
"cfg = config.validate_config(cfg)\n",
"\n",
"datamodule = hydra.utils.instantiate(cfg.dataset.datamodule)\n",
"datamodule.setup(\"train\")\n",
"datamodule.setup(\"fit\")\n",
"dl = datamodule.train_dataloader()\n",
"\n",
"for i in dl:\n",
Expand Down Expand Up @@ -448,7 +448,7 @@
"cfg = config.validate_config(cfg)\n",
"\n",
"datamodule = hydra.utils.instantiate(cfg)\n",
"datamodule.setup(\"train\")\n",
"datamodule.setup(\"fit\")\n",
"dl = datamodule.train_dataloader()\n",
"\n",
"for i in dl:\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/customizing_existing_dataset_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"cfg = config.validate_config(cfg)\n",
"\n",
"datamodule = hydra.utils.instantiate(cfg.dataset.datamodule)\n",
"datamodule.setup(\"train\")\n",
"datamodule.setup(\"fit\")\n",
"dl = datamodule.train_dataloader()\n",
"\n",
"for i in dl:\n",
Expand Down Expand Up @@ -207,7 +207,7 @@
"cfg = config.validate_config(cfg)\n",
"\n",
"datamodule = hydra.utils.instantiate(cfg)\n",
"datamodule.setup(\"train\")\n",
"datamodule.setup(\"fit\")\n",
"dl = datamodule.train_dataloader()\n",
"\n",
"for i in dl:\n",
Expand Down

0 comments on commit 61294d4

Please sign in to comment.