MolSSI / QCFractal

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

Implement getting reason a record is waiting #759

Closed bennybp closed 9 months ago

bennybp commented 9 months ago

Description

Implement functionality for testing why a record is in the waiting status. Inspired by https://github.com/openmm/spice-dataset/issues/82#issuecomment-1732462457

Often, a record will be waiting because managers don't exist or have the wrong tags/programs. This was opaque to the user. This allows for the user to test why a record is waiting.

r = client.get_record(record_id)
reason = r.get_waiting_reason()
print(reason)

# or

reason = client.get_waiting_reason(record_id)
print(reason)

Changelog description

Implement functionality for checking why a record is in the waiting state

Status

codecov[bot] commented 9 months ago

Codecov Report

Merging #759 (a4a9a31) into main (e8d9cba) will decrease coverage by 0.04%. The diff coverage is 75.75%.

Additional details and impacted files