Open ryanjameskim opened 5 years ago
Thanks for the report @ryanjameskim, I think this is indeed a typo which happens to work.
seems to work again if you replace 'current_queries' in search_function call to just 'queries'
Yep, I think that's the right solution here, would you be interested in providing a pull-request? (this can be done via the web-client if you like)
Describe the environment
What version of IAB are you reading (e.g. v0.0.1)?
iab version: 0.1.4.dev0
Describe the problem
Line 2 of function "evaluate_search" uses "current_queries" in search_function call, but evaluate_search parameter list lists 'queries' and uses 'queries' later to calculate query run times and step through query taxology pulls.
LINE 2 REPRODUCED HERE search_results = search_function(current_queries, reference_db, n=n, aligner=aligner)
Is this correct or is the function using the module-level current_queries?
Steps to reproduce
Observed Results
Expected Results
POTENTIAL SOLUTION