Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/cwl_utils/cwl_v1_0_expression_refactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import copy
import hashlib
import uuid
from collections.abc import MutableSequence, Sequence
from contextlib import suppress
from typing import Any, cast, Final
Expand Down Expand Up @@ -294,6 +293,7 @@ def traverse(
run=copy.deepcopy(process),
)
workflow = cwl.Workflow(
id=process.id,
inputs=wf_inputs,
outputs=wf_outputs,
steps=[step],
Expand Down Expand Up @@ -409,7 +409,6 @@ def generate_etool_from_expr(
else None
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down Expand Up @@ -1732,7 +1731,6 @@ def generate_etool_from_expr2(
}"""
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down
4 changes: 1 addition & 3 deletions src/cwl_utils/cwl_v1_1_expression_refactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import copy
import hashlib
import uuid
from collections.abc import MutableSequence, Sequence
from contextlib import suppress
from typing import Any, cast, Final
Expand Down Expand Up @@ -294,6 +293,7 @@ def traverse(
run=copy.deepcopy(process),
)
workflow = cwl.Workflow(
id=process.id,
inputs=wf_inputs,
outputs=wf_outputs,
steps=[step],
Expand Down Expand Up @@ -407,7 +407,6 @@ def generate_etool_from_expr(
else None
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down Expand Up @@ -1738,7 +1737,6 @@ def generate_etool_from_expr2(
}"""
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down
4 changes: 1 addition & 3 deletions src/cwl_utils/cwl_v1_2_expression_refactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import copy
import hashlib
import uuid
from collections.abc import Mapping, MutableSequence, Sequence
from contextlib import suppress
from typing import Any, cast, Final
Expand Down Expand Up @@ -295,6 +294,7 @@ def traverse(
run=copy.deepcopy(process),
)
workflow = cwl.Workflow(
id=process.id,
inputs=wf_inputs,
outputs=wf_outputs,
steps=[step],
Expand Down Expand Up @@ -408,7 +408,6 @@ def generate_etool_from_expr(
else None
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down Expand Up @@ -1851,7 +1850,6 @@ def generate_etool_from_expr2(
}"""
)
return cwl.ExpressionTool(
id="_:" + str(uuid.uuid4()),
inputs=inputs,
outputs=outputs,
expression=expression,
Expand Down