Skip to content

Commit

Permalink
implemented the first pass at bmir-radx/radx-project#37
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorf committed Dec 17, 2023
1 parent ad283a2 commit 2331631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ncbo_cron/ontology_submission_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def process_queue_submissions(options={})
redis.hdel(QUEUE_HOLDER, key)

# if :remote_pull is one of the actions, pull the ontology and halt if no new submission is found
# if a new submission is found, replace the submission ID with the new one and proceed with
# processing the remaining actions on the new submission
if actions.key?(:remote_pull) && actions[:remote_pull]
acronym = NcboCron::Helpers::OntologyHelper.acronym_from_submission_id(realKey)
new_submission = NcboCron::Helpers::OntologyHelper.do_ontology_pull(acronym, enable_pull_umls: false,
Expand Down

0 comments on commit 2331631

Please sign in to comment.