Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlphaFold download function fails if nonexistent Uniprot ID entry / 404 error #225

Closed
kamurani opened this issue Oct 31, 2022 · 0 comments
Closed

Comments

@kamurani
Copy link
Contributor

When loading in data automatically (e.g. using graphein.ml.ProteinGraphDataset), if a particular uniprot ID is given that doesn't have an AlphaFold entry (e.g. "A9UF07", "P78527"), an exception is thrown by wget. This should be captured and used to return None or similar as the filepath; and the DataSet should exclude this from the data that will be then loaded as the downstream graphs will not be able to be created.

a-r-j added a commit that referenced this issue Oct 31, 2022
@kamurani kamurani closed this as completed Nov 2, 2022
a-r-j added a commit that referenced this issue Nov 10, 2022
* Catch AF2 download error #225

* update changelog

* Update function signature

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks"

This reverts commit 5f27e51.

* black

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant