Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2888 from jmchilton/cwl_fixes_from_lib
Small cwl fixes to sync with galaxy-lib.
  • Loading branch information
nsoranzo committed Sep 1, 2016
2 parents 0d35f94 + 50c8302 commit a199590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tools/cwl/parser.py
Expand Up @@ -157,7 +157,7 @@ def label(self):
class CommandLineToolProxy(ToolProxy):

def description(self):
return self._tool.tool.get('description')
return self._tool.tool.get('doc')

def label(self):
return self._tool.tool.get('label')
Expand Down Expand Up @@ -493,7 +493,7 @@ def _field_to_field_type(field):
def _field_metadata(field):
name = field["name"]
label = field.get("label", None)
description = field.get("description", None)
description = field.get("doc", None)
return name, label, description


Expand Down

0 comments on commit a199590

Please sign in to comment.