Skip to content

Commit

Permalink
Avoid removing step cwlVersion
Browse files Browse the repository at this point in the history
Avoid removing step cwlVersion
  • Loading branch information
bogdang989 authored Mar 16, 2022
1 parent c322e5e commit 09ac9f3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion sbpack/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ def resolve_steps(
if this_version > parent_version:
cwl["cwlVersion"] = v["run"]["cwlVersion"]
# not really enough, but hope for the best
del v["run"]["cwlVersion"]

return cwl

Expand Down
2 changes: 1 addition & 1 deletion sbpack/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2022.03.10"
__version__ = "2022.03.16"
1 change: 1 addition & 0 deletions tests/test_localpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from sbpack.schemadef import _inline_type
from pytest import CaptureFixture


def test_json_output(capsys: CaptureFixture[str]) -> None:
_inline_type.type_name_uniq_id = 0
_inline_type.type_names = set()
Expand Down
1 change: 1 addition & 0 deletions tests/workflows/wf6.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
],
"run": {
"class": "CommandLineTool",
"cwlVersion": "v1.0",
"requirements": [],
"inputs": [
{
Expand Down
1 change: 1 addition & 0 deletions tests/workflows/wf6_with_ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
],
"run": {
"class": "CommandLineTool",
"cwlVersion": "v1.0",
"requirements": [],
"inputs": [
{
Expand Down

0 comments on commit 09ac9f3

Please sign in to comment.