Bugfix: ensure the status is updated for the correct analysis (326)(patch)
When toggling the status for an analysis, it was done for the most recent analysis associated with the case instead of the specific analysis for which an id was provided in the endpoint...
19.0.17
Speed up retrieval of latest failed job via query (322)(patch)
The property was too slow, this implementation is better but still unnecessarily slow. It runs a separate query to get each failed job for each analysis. Should do lazy loading or batch it somehow.
19.0.16
Add most recent failed job (320)()
19.0.15
Patch update endpoint (319)(patch)
Fix toggling visibility of analysis
19.0.14
feat(refactor): StrEnum (317)
Changed
- Refactor to PEP0663
19.0.13
refactor _is_analysis_failed (316)(patch)
Implements solution 2 in 315. Changes the logic of `_is_analysis_failed` so that it checks if any job failed, instead of checking if the proportion is not zero.
Changed
- function `_is_analysis_failed` in `trailblazer/apps/slurm/api.py`