Skip to content

Commit 9867e56

Browse files
committed
Update Planemo for recent CWL Galaxy work.
Target newer branch of Galaxy when running CWL tools and use newer version of cwltool (pinned to same version as Galaxy branch).
1 parent 525de8f commit 9867e56

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

planemo/galaxy/activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def replacement_item(value):
387387
if type_class != "File":
388388
return value
389389

390-
file_path = value.get("path", None)
390+
file_path = value.get("location", None)
391391
if file_path is None:
392392
return value
393393

planemo/galaxy/config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ def _galaxy_branch(kwds):
11121112
branch = kwds.get("galaxy_branch", None)
11131113
if branch is None:
11141114
cwl = kwds.get("cwl", False)
1115-
branch = "cwl" if cwl else None
1115+
branch = "cwl-1.0" if cwl else None
11161116
if branch is None:
11171117
branch = DEFAULT_GALAXY_BRANCH
11181118

@@ -1133,8 +1133,6 @@ def _galaxy_source(kwds):
11331133
def _install_with_command(ctx, config_directory, command, env, kwds):
11341134
# TODO: --watchdog
11351135
pip_installs = []
1136-
if kwds.get("cwl", False):
1137-
pip_installs.append("cwltool==1.0.20160626203316")
11381136
if pip_installs:
11391137
pip_install_command = PIP_INSTALL_CMD % " ".join(pip_installs)
11401138
else:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ gxformat2>=0.1.1
1515
ephemeris>=0.2.0
1616
galaxy-lib>=17.5.6
1717
html5lib>=0.9999999,!=0.99999999,!=0.999999999,!=1.0b10,!=1.0b09 ; python_version == '2.7'
18-
cwltool==1.0.20160726135535 ; python_version == '2.7'
18+
cwltool==1.0.20170224141733 ; python_version == '2.7'

0 commit comments

Comments
 (0)