The idea of this PR is to find records more efficiently if the list of records is filtered by a or several parameter values. You can test it in terminal:
smt list -p pkey=pval
smt list -p pkey:pval
or in API:
from sumatra.projects import load_project
p = load_project()
p.find_records(parameters={pkey:pval})
Coverage decreased (-0.2%) to 72.543% when pulling be4e5aea1f2cdd6bcc1ed71caf57e4f36c9ec795 on babsey:list_param_filter into 9341bf6f288c54433e1097c220c06db7ec8d47f1 on open-research:master.
Coverage decreased (-0.2%) to 72.582% when pulling 271319f71f0cf8f503649317a3df08e51b02e94c on babsey:list_param_filter into 9341bf6f288c54433e1097c220c06db7ec8d47f1 on open-research:master.
The idea of this PR is to find records more efficiently if the list of records is filtered by a or several parameter values. You can test it in terminal:
or in API: