1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/a372c3970447/ changeset: a372c3970447 user: dannon date: 2012-02-01 16:22:51 summary: Workflow Running: Add a more useful error message when input keys don't map upon executing a workflow instead of tossing to Server Error. This happens in situations where outputs are conditionally filtered (See SICER's significant_islands_summary_output_file) yet still used in the workflows. affected #: 1 file
diff -r 2edf7a8d376ea6521f7fa20045e57ca58275ce8b -r a372c3970447dd0caf123db7c3047d372bfb8092 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py +++ b/lib/galaxy/web/controllers/workflow.py @@ -126,7 +126,7 @@ if operation == "sharing": return self.sharing( trans, id=history_ids ) return self.stored_list_grid( trans, **kwargs ) - + @web.expose @web.require_login( "use Galaxy workflows", use_panels=True ) def list( self, trans ): @@ -1490,7 +1490,10 @@ if prefixed_name in step.input_connections_by_name: conn = step.input_connections_by_name[ prefixed_name ] return outputs[ conn.output_step.id ][ conn.output_name ] - visit_input_values( tool.inputs, step.state.inputs, callback ) + try: + visit_input_values( tool.inputs, step.state.inputs, callback ) + except KeyError, k: + error( "Error due to input mapping of '%s' in '%s'. A common cause of this is conditional outputs that cannot be determined until runtime, please review your workflow." % (tool.name, k.message)) # Execute it job, out_data = tool.execute( trans, step.state.inputs, history=new_history) outputs[ step.id ] = out_data
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
galaxy-commits@lists.galaxyproject.org