Closed colinkcurtis closed 5 years ago
Spoke with Yaphet about this problem... discussed using multiprocessing... those tools do not lend themselves to recursion on the object of a for loop in an obvious way
perhaps using a result_list and a queue_list separately, updating both simultaneously, but only operating on the queue_list could work with multiprocessing module.
Currently, this call:
returns an answer containing 4203 IDs in a time of ~ 7 minutes.
The major time consumption can be found here: https://github.com/NCATS-Tangerine/reasoner-tools/blob/master/greent/services/ontology.py#L79
Hard to estimate completion, hard problem. If the UberOnto API is deployed successfully, this work will be made obsolete.