1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/5709198bdc0a/ changeset: r4980:5709198bdc0a user: kanwei date: 2011-02-02 21:06:10 summary: Make tool.execute pass kwargs instead of new "set_output_history" parameter for backwards compat affected #: 1 file (44 bytes) --- a/lib/galaxy/tools/__init__.py Tue Feb 01 15:24:45 2011 +0000 +++ b/lib/galaxy/tools/__init__.py Wed Feb 02 15:06:10 2011 -0500 @@ -1215,14 +1215,14 @@ raise Exception( "Unexpected parameter type" ) return args - def execute( self, trans, incoming={}, set_output_hid=True, set_output_history=True, history=None ): + def execute( self, trans, incoming={}, set_output_hid=True, history=None, **kwargs ): """ Execute the tool using parameter values in `incoming`. This just dispatches to the `ToolAction` instance specified by `self.tool_action`. In general this will create a `Job` that when run will build the tool's outputs, e.g. `DefaultToolAction`. """ - return self.tool_action.execute( self, trans, incoming=incoming, set_output_hid=set_output_hid, set_output_history=set_output_history, history=history ) + return self.tool_action.execute( self, trans, incoming=incoming, set_output_hid=set_output_hid, history=history, **kwargs ) def params_to_strings( self, params, app ): return params_to_strings( self.inputs, params, app ) @@ -1233,7 +1233,7 @@ def check_and_update_param_values( self, values, trans ): """ Check that all parameters have values, and fill in with default - values where neccesary. This could be called after loading values + values where necessary. This could be called after loading values from a database in case new parameters have been added. """ messages = {} 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.