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

Do a script to test and pull a new ontology version if exist #3

Closed
syphax-bouazzouni opened this issue Jan 10, 2022 · 1 comment
Closed

Comments

@syphax-bouazzouni
Copy link

syphax-bouazzouni commented Jan 10, 2022

Issue

There is only one where the testing if a new file exists, is in the pull_location CRON job . Which is done once a day.

The problem is that if we do an ontology reprocess with the ncbo_ontolgy_process script, it will not test the existence of a new version.

Solution

There are two ways to solve this

  1. The first and simple one is to just add a script called ncbo_ontology_pull to do the pull on demand.
  2. The second more complex, is to add in the submission process workflow a step that comes before the generate_rdf step called do_pull_location that will download and create a new submission if a new version is found.
@syphax-bouazzouni syphax-bouazzouni changed the title do a script to test and pull a new ontology if exist Do a script to test and pull a new ontology version if exist Aug 11, 2022
@syphax-bouazzouni
Copy link
Author

syphax-bouazzouni commented Aug 11, 2022

I implemented the first solution here

Deployment

  • Testportal
  • Stageportal
  • Agroportal
  • Bioportal

syphax-bouazzouni added a commit that referenced this issue Jul 31, 2023
…rtal-migration-script

Feature: Add ecoportal submission model migration script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant