Skip to content

Commit

Permalink
Update Planemo for recent CWL Galaxy work.
Browse files Browse the repository at this point in the history
Target newer branch of Galaxy when running CWL tools and use newer version of cwltool (pinned to same version as Galaxy branch).
  • Loading branch information
jmchilton committed Mar 10, 2017
1 parent 525de8f commit 9867e56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion planemo/galaxy/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def replacement_item(value):
if type_class != "File":
return value

file_path = value.get("path", None)
file_path = value.get("location", None)
if file_path is None:
return value

Expand Down
4 changes: 1 addition & 3 deletions planemo/galaxy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ def _galaxy_branch(kwds):
branch = kwds.get("galaxy_branch", None)
if branch is None:
cwl = kwds.get("cwl", False)
branch = "cwl" if cwl else None
branch = "cwl-1.0" if cwl else None
if branch is None:
branch = DEFAULT_GALAXY_BRANCH

Expand All @@ -1133,8 +1133,6 @@ def _galaxy_source(kwds):
def _install_with_command(ctx, config_directory, command, env, kwds):
# TODO: --watchdog
pip_installs = []
if kwds.get("cwl", False):
pip_installs.append("cwltool==1.0.20160626203316")
if pip_installs:
pip_install_command = PIP_INSTALL_CMD % " ".join(pip_installs)
else:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ gxformat2>=0.1.1
ephemeris>=0.2.0
galaxy-lib>=17.5.6
html5lib>=0.9999999,!=0.99999999,!=0.999999999,!=1.0b10,!=1.0b09 ; python_version == '2.7'
cwltool==1.0.20160726135535 ; python_version == '2.7'
cwltool==1.0.20170224141733 ; python_version == '2.7'

0 comments on commit 9867e56

Please sign in to comment.