Skip to content

Commit

Permalink
Cleanup a couple things in galaxyproject#4396 caught by @nsoranzo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Aug 9, 2017
1 parent 8436bd7 commit f71a000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/workflow/modules.py
Expand Up @@ -811,7 +811,7 @@ def execute( self, trans, progress, invocation, step ):
execution_state.inputs = make_dict_copy( execution_state.inputs )

expected_replacement_keys = set(step.input_connections_by_name.keys())
found_replacement_keys = set([])
found_replacement_keys = set()

# Connect up
def callback( input, prefixed_name, **kwargs ):
Expand Down Expand Up @@ -977,7 +977,7 @@ def from_dict( self, trans, d, **kwargs ):
Return module initialized from the data in dictionary `d`.
"""
type = d['type']
assert type in self.module_types, "Unexpected workflow step type [%s] not found in [%s]"% (type, self.module_types.keys())
assert type in self.module_types, "Unexpected workflow step type [%s] not found in [%s]" % (type, self.module_types.keys())
return self.module_types[type].from_dict( trans, d, **kwargs )

def from_workflow_step( self, trans, step ):
Expand Down

0 comments on commit f71a000

Please sign in to comment.