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

✨ An "update" function that updates all ontologies to the new version #47

Open
sunnyosun opened this issue Jun 17, 2024 · 0 comments
Open
Assignees

Comments

@sunnyosun
Copy link
Member

sunnyosun commented Jun 17, 2024

https://www.notion.so/laminlabs/Update-bionty-sources-553ff5d8995045f98b7e32e647c6d2e5

  • For records with the same "ontology_id" and "name" as the old version → update the link .public_source to the new version
  • For records with the same "ontology_id" but different "name", e.g deprecated terms
    • If no artifacts are linked to it → replace it with the new version record
    • If artifacts are linked → keep the old version and raise a warning
  • Sets the new version to currently_used
@sunnyosun sunnyosun changed the title ✨ An "update" function that migrate records to link to the new public_source version ✨ An "update" function that updates all ontologies to the new version Jun 17, 2024
@sunnyosun sunnyosun self-assigned this Jul 9, 2024
@Zethson Zethson transferred this issue from laminlabs/lnschema-bionty Aug 7, 2024
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