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

feat(deposition): Use github pages to not get rate limited, assert sequences with ena specific fields were submitted by us or the insdc_submission_group #3327

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

anna-parker
Copy link
Contributor

@anna-parker anna-parker commented Dec 2, 2024

resolves #3268, #3328

preview URL: http://ena-polling-fixes.loculus.org/

Summary

  1. Use github pages to reduce polling of github (we were being rate limited)
  2. Fix logger.warning syntax (error due to comma splitting strings) and use logging instance logger instead of logging base class (make ruff happy).
  3. Check if sequences with ena specific metadata fields were submitted by us or the insdc_submission_group (previously used submitter name insdc_ingest_user but this then warns us if a sequence has been curated).

Screenshot

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@theosanderson
Copy link
Member

Just to flag that because GH pages can cache stuff and because this file changes this will potentially cause a bit of confusion while the cache has yet to be updated (I recall that in the past this could be a significant length of time). But I expect this is OK for now.

@anna-parker anna-parker changed the title Use github pages to not get rate limited Use github pages to not get rate limited, assert sequences with ena specific fields were submitted by us or the insdc_submission_group Dec 2, 2024
@anna-parker anna-parker added the preview Triggers a deployment to argocd label Dec 2, 2024
@anna-parker anna-parker changed the title Use github pages to not get rate limited, assert sequences with ena specific fields were submitted by us or the insdc_submission_group feat(deposition): Use github pages to not get rate limited, assert sequences with ena specific fields were submitted by us or the insdc_submission_group Dec 2, 2024
@anna-parker anna-parker added preview Triggers a deployment to argocd and removed preview Triggers a deployment to argocd labels Dec 2, 2024
@anna-parker anna-parker marked this pull request as ready for review December 2, 2024 15:07
…ssion_group and not the insdc_submission_user to not warn if a sequence has been curated
@anna-parker anna-parker merged commit fdd58b6 into main Dec 4, 2024
15 checks passed
@anna-parker anna-parker deleted the ena-polling-fixes branch December 4, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

We need to reduce the frequency at which we poll Github for curated data updates
3 participants