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

PubChem remaining tasks #26

Open
6 tasks
nesimtunc opened this issue Apr 27, 2022 · 0 comments
Open
6 tasks

PubChem remaining tasks #26

nesimtunc opened this issue Apr 27, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nesimtunc
Copy link
Member

Per our conversation with @nesimtunc, here are the tasks that need to be done

  • Create a table in the DB for keeping track of the imported/failed compounds.
  • Use that table to rerun the script if the script crashes unexpectedly.
  • Limit retry amounts for failed compounds.
  • Create an endpoint to show the statistics, ie: the time to import a number of compounds, success/fail ratio, how many compounds are left to import
  • Create a POST endpoint to trigger the import script with an authentication(token may be stored in .env) header with a JSON body that includes the startID and endID and an option to continue from the last compound
  • Create a POST endpoint to trigger pause and stop the import script

Originally posted by @T410 in #16 (comment)

@nesimtunc nesimtunc added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 27, 2022
@nesimtunc nesimtunc added this to To do in Periodum Backend & API via automation Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

1 participant