Skip to content

Commit

Permalink
Minor cleanup for 2020.06.18 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kghose committed Jun 18, 2020
1 parent b4577e0 commit d8cec30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ uploading it to a SB platform.

## Side-note
As an interesting side note, packing a workflow can get around at least two `cwltool` bugs
[1][cwltoolbug1], [2][cwltoolbug2].
[[1]][cwltoolbug1], [[2]][cwltoolbug2].

[cwltoolbug1]: https://github.com/common-workflow-language/cwltool/issues/1304
[cwltoolbug2]: https://github.com/common-workflow-language/cwltool/issues/1306

Expand Down
2 changes: 1 addition & 1 deletion sbpack/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2020.06.15"
__version__ = "2020.06.18"
6 changes: 3 additions & 3 deletions tests/test_validation_battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
fast_yaml = YAML(typ="safe")


def validate(fname):
def cwl_is_valid(fname):
try:
subprocess.run(["cwltool", "--validate", fname], check=True)
return True
Expand All @@ -37,7 +37,7 @@ def test_local_packing_with_validation(f):

cwl = pack(f)
fpacked = pathlib.Path(packed_name)
with open(packed_name, "w") as fout:
with fpacked.open("w") as fout:
fast_yaml.dump(cwl, fout)
assert validate(fpacked)
assert cwl_is_valid(fpacked)
fpacked.unlink()

0 comments on commit d8cec30

Please sign in to comment.