Skip to content

Commit e189963

Browse files
authored
Merge pull request #8477 from Loxeris/dirac-cwl-job-id
fix: pass job id to cwl job wrapper template
2 parents da8dcd9 + 53ce94d commit e189963

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/DIRAC/WorkloadManagementSystem/Utilities

src/DIRAC/WorkloadManagementSystem/Utilities/Utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
""" Utilities for WMS
2-
"""
1+
"""Utilities for WMS"""
2+
33
import os
44
from pathlib import Path
55
from glob import glob
@@ -161,7 +161,7 @@ def __createCWLJobWrapper(jobID, wrapperPath, log, rootLocation):
161161
# Get json
162162
dirac-wms-job-get-input {jobID} -D {rootLocation}
163163
# Run JobWrapper
164-
pixi run --manifest-path {protoPath} python {directJobWrapperFile} {directJobWrapperJsonFile}
164+
pixi run --manifest-path {protoPath} python {directJobWrapperFile} {directJobWrapperJsonFile} {jobID}
165165
"""
166166
return S_OK((jobWrapperFile, jobWrapperJsonFile, jobExeFile, jobFileContents))
167167

0 commit comments

Comments
 (0)