Skip to content

Commit a6534eb

Browse files
kannon92mr-c
authored andcommitted
feat: use uuid as directory rather than add to name
1 parent 3ccf9ca commit a6534eb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

cwltool/job.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,8 @@ def is_streamable(file: str) -> bool:
230230
if runtimeContext.log_dir == "":
231231
self.base_path_logs = self.outdir
232232
else:
233-
self.base_path_logs = runtimeContext.log_dir
234-
# Generate random ids
235233
import uuid
236-
237-
self.stdout = (
238-
self.stdout if not self.stdout else self.stdout + uuid.uuid4().hex
239-
)
240-
self.stderr = (
241-
self.stderr if not self.stderr else self.stderr + uuid.uuid4().hex
242-
)
234+
self.base_path_logs = runtimeContext.log_dir + '/' + uuid.uuid4().hex
243235

244236
def _execute(
245237
self,

0 commit comments

Comments
 (0)