-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add dataloader classes * [Bug] rogue unused argument * Add multiprocessing support * Fix bare excepts * Remove bare excepts * [Logging] update try except imports to use logging * isort * lint * [Dataloader] add base dataloader class * [Dataloader] add len * torch geometric dataset * add init * remove old dataloaders * refactor mp constructor * add rename arg to AF2 download and fix docstring * add docstrings * add new dataset classes to namespace * add transforms and docstrings * add tests for dataloaders * add tensor equality util * update docs * add dataloader tutorial * fix dataloader tests * update testing utils to have optional import for torch equality checks * fix bare except * remove torch.testing as it breaks support with previous versions <1.11 * black, isort * add torch geometric install * remove pyg from matrix tests * add skip if pyg not installed * typo * add option pyg imports * set imports to optional * make torch imports optional in tests * use pathlib instead of string paths * use tuple of exception classes * wrap dataset imports in try/except * fix to obsolete PDB download * Fix tests * fix chain graph return * add pyg install * rm pyg, ignore dataloader test * ignore dataloader tutorial * fix renaming errors in AF2 download
- Loading branch information
Showing
20 changed files
with
1,576 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"path": "../../../notebooks/dataloader_tutorial.ipynb" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from .conversion import GraphFormatConvertor | ||
|
||
try: | ||
from .datasets import ( | ||
InMemoryProteinGraphDataset, | ||
ProteinGraphDataset, | ||
ProteinGraphListDataset, | ||
) | ||
except (ImportError, NameError): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .torch_geometric_dataset import ( | ||
InMemoryProteinGraphDataset, | ||
ProteinGraphDataset, | ||
ProteinGraphListDataset, | ||
) |
Oops, something went wrong.