Commit 2e533443 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

use CWL workflow label if present as Galaxy workflow name

parent 99b81bf7
......@@ -760,7 +760,8 @@ class WorkflowProxy(object):
return input_connections_by_step
def to_dict(self):
name = os.path.basename(self._workflow_path or 'TODO - derive a name from ID')
#name = os.path.basename(self._workflow_path or 'TODO - derive a name from ID')
name = os.path.basename(self._workflow.tool.get('label') or self._workflow_path or 'TODO - derive a name from ID')
steps = {}
step_proxies = self.step_proxies()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment