Multithreading not working
Hi,
thanks for this amazing package. I am trying to work with it to fetch some data from NCBI, but its taking so much time and when I monitor the process, it seems is not using multithreading. Any idea how to fix that or how to speed up the process?
Here is my code, just following one of the conduit module tutorials. The DocsumAnalyzer is the same implemented in the tutorial:
c = entrezpy.conduit.Conduit(args.email, apikey=args.ncbi_api, threads = args.cores)
fetch_docsum = c.new_pipeline()
sid = fetch_docsum.add_search({'db':'nuccore', 'term': args.esearch_query})
fetch_docsum.add_summary({'rettype':'docsum', 'retmode':'json'},
dependency=sid, analyzer=DocsumAnalyzer())
docsums = c.run(fetch_docsum).get_result().docsums
Bests,
Alejandra
Edited by G-Molano-LA