ontoportal-lirmm / ncbo_cron

Jobs that run on a regular basis in the NCBO infrastructure
Other
0 stars 7 forks source link

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

Closed syphax-bouazzouni closed 1 year ago

syphax-bouazzouni commented 2 years ago

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 commented 2 years ago

I implemented the first solution here

Deployment