ncbo / ncbo_cron

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

ncbo_ontology_pull script throws undefined method error #81

Closed jvendetti closed 1 week ago

jvendetti commented 2 months ago

The help switch for the ncbo_ontology_pull script indicates that you can pass an ontology acronym to initiate a pull:

$ bin/ncbo_ontology_pull --help

Usage: ncbo_ontology_pull [options]
    -o, --ontology ACRONYM           Ontology acronym to pull if new version exist

Executing such a command results in an undefined method error:

$ bin/ncbo_ontology_pull -o AIO

I, [2024-06-28T17:32:27.614680 #176551]  INFO -- : Starting ncbo pull
E, [2024-06-28T17:32:27.616004 #176551] ERROR -- : undefined method `do_ontology_pull' for #<NcboCron::Models::OntologyPull:0x00005590b0c54810>
Did you mean?  do_remote_ontology_pull
I, [2024-06-28T17:32:27.616044 #176551]  INFO -- : Finished ncbo pull