MolSSI / QCFractal

A distributed compute and database platform for quantum chemistry.
https://molssi.github.io/QCFractal/
BSD 3-Clause "New" or "Revised" License
144 stars 47 forks source link

Fix incorrect reporting in collection status #680

Closed bennybp closed 3 years ago

bennybp commented 3 years ago

Description

Fix incorrect reporting in some collections. If a status is specified to the status() function, the number of records corresponding to that status was incorrectly calculated. It was calculated in such a way that only if all specifications were that status for a record would it be counted. This led to a mismatch between get_status() and get_status(status='COMPLETE')

Before: before

After: after

Changelog description

Fixes incorrect status reporting in collections

Status

codecov[bot] commented 3 years ago

Codecov Report

Merging #680 (9f95081) into master (d39f265) will not change coverage. The diff coverage is 0.00%.