No SLURM job state with method=parse in some job states
With get_slurm_job_state(res_id, method='parse')
there is a problem getting the state in certain job states because the output formatting and the used command line flags to get the state string depends on the job state. For example if the job is pending, no state can be captured in the current "parse" approach.
BTW: the json approach always works but it is currently not available on HoreKa.
Edited by Ivan Kondov