Skip to content

Commit

Permalink
Remove redundant label handling from subworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Feb 10, 2017
1 parent d484355 commit b9f1e29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/galaxy/workflow/modules.py
Expand Up @@ -242,14 +242,12 @@ def from_dict( Class, trans, d, **kwds ):
elif "content_id" in d:
content_id = d["content_id"]
module.subworkflow = SubWorkflowModule.subworkflow_from_content_id( trans, content_id )
module.label = d.get( "label", None ) or None
return module

@classmethod
def from_workflow_step( Class, trans, step, **kwds ):
module = Class( trans )
module.subworkflow = step.subworkflow
module.label = step.label
return module

def save_to_step( self, step ):
Expand Down

0 comments on commit b9f1e29

Please sign in to comment.