Skip to content

Commit

Permalink
Fixes for code review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite4 committed May 26, 2023
1 parent 4215b2c commit 0793600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/supremm/xdmodaccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, resource_id, config):
WHEN jf.`local_job_id_raw` IS NULL THEN IF(jf.`local_job_array_index` = -1, jf.`local_jobid`, CONCAT(jf.`local_jobid`, '_', jf.`local_job_array_index`))
WHEN sj.`source_format` = 'slurm' THEN jf.`local_job_id_raw`
ELSE IF(jf.`local_job_array_index` = -1, jf.`local_jobid`, CONCAT(jf.`local_jobid`, '_', jf.`local_job_array_index`))
END AS job_uniq_id,
END AS `job_uniq_id`,
jf.`local_jobid` AS `local_job_id`,
jf.`local_job_array_index` AS `local_job_array_index`,
jf.`local_job_id_raw` AS `local_job_id_raw`,
Expand Down Expand Up @@ -81,7 +81,7 @@ def __init__(self, resource_id, config):
WHEN jf.`local_job_id_raw` IS NULL THEN IF(jf.`local_job_array_index` = -1, jf.`local_jobid`, CONCAT(jf.`local_jobid`, '_', jf.`local_job_array_index`))
WHEN sj.`source_format` = 'slurm' THEN jf.`local_job_id_raw`
ELSE IF(jf.`local_job_array_index` = -1, jf.`local_jobid`, CONCAT(jf.`local_jobid`, '_', jf.`local_job_array_index`))
END AS job_uniq_index,
END AS `job_uniq_id`,
jf.`local_jobid` AS `local_job_id`,
jf.`local_job_array_index` AS `local_job_array_index`,
jf.`local_job_id_raw` AS `local_job_id_raw`,
Expand Down

0 comments on commit 0793600

Please sign in to comment.