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
Description
Implement functionality for testing why a record is in the
waiting
status. Inspired by https://github.com/openmm/spice-dataset/issues/82#issuecomment-1732462457Often, 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.
Changelog description
Implement functionality for checking why a record is in the
waiting
stateStatus