[galaxyproject/galaxy] 01d2a5: Fix parsing of `scontrol show job`
Branch: refs/heads/release_18.01 Home: https://github.com/galaxyproject/galaxy Commit: 01d2a5c2ae7e5a1f3b5fcfdd2b1eca766a69d5ec https://github.com/galaxyproject/galaxy/commit/01d2a5c2ae7e5a1f3b5fcfdd2b1ec... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M lib/galaxy/jobs/runners/slurm.py Log Message: ----------- Fix parsing of `scontrol show job` Fix the following traceback: ``` galaxy.jobs.runners.slurm ERROR 2018-05-22 13:01:07,050 (1024816/14094939) Failure in SLURM _complete_terminal_job(), job final state will be: failed Traceback (most recent call last): File "/tgac/services/galaxy/prod/galaxy/lib/galaxy/jobs/runners/slurm.py", line 86, in _complete_terminal_job slurm_state = _get_slurm_state() File "/tgac/services/galaxy/prod/galaxy/lib/galaxy/jobs/runners/slurm.py", line 81, in _get_slurm_state job_info_dict = dict([out_param.split('=', 1) for out_param in stdout.split()]) ValueError: dictionary update sequence element #52 has length 1; 2 is required ``` Commit: 939c3be132b9cd606cd5f1189293f15000a486d8 https://github.com/galaxyproject/galaxy/commit/939c3be132b9cd606cd5f1189293f... Author: Martin Cech <marten@bx.psu.edu> Date: 2018-05-22 (Tue, 22 May 2018) Changed paths: M lib/galaxy/jobs/runners/slurm.py Log Message: ----------- Merge pull request #6194 from nsoranzo/fix__get_slurm_state [18.01] Fix parsing of `scontrol show job` Compare: https://github.com/galaxyproject/galaxy/compare/bd4f562005e2...939c3be132b9 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub