-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Description
We found some spurious fetching of PDB that likely results from internet connectivity losses during the fetch. We should include better annotations of fetching issues (right now we report it as invalid PDB IDs, but that's not the case) and attempt refetching. Also, could be good to consider doing an append, so things fetched could be added to later on.
Files
A list of relevant files for this issue. This will help people navigate the project and offer some clues of where to start.
To Reproduce
Steps to reproduce the behavior:
- Go to a cafe with bad internet and try running PDB fetching. - I kid, but probably need to enhance the probability of a failure by putting a constraint on internet.
Expected behavior
We should capture the error type on return of PDB fetch and re-attempt failed IDs if it is due to a web issue.
We should also create an appending of files that will look at a list that was fetched and one that was attempted and add new lines as able. This preserves the run time of the first fetch, allowing extension later on.
Tasks
Include specific tasks in the order they need to be done in. Include links to specific lines of code where the task should happen at, if known
- Identify and develop better error codes on PDB ID fetch issues
- Catch and retry failures
- Add an append approach #59