commit/galaxy-central: greg: Fix for tool configs that do not include a command tag.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/0f15591f2acd/ changeset: 0f15591f2acd user: greg date: 2011-07-21 19:44:45 summary: Fix for tool configs that do not include a command tag. affected #: 1 file (35 bytes) --- a/lib/galaxy/tools/__init__.py Thu Jul 21 13:14:13 2011 -0400 +++ b/lib/galaxy/tools/__init__.py Thu Jul 21 13:44:45 2011 -0400 @@ -374,15 +374,15 @@ self.input_translator = root.find( "request_param_translation" ) if self.input_translator: self.input_translator = ToolInputTranslator.from_element( self.input_translator ) - # Command line (template). Optional for tools that do not invoke a - # local program + # Command line (template). Optional for tools that do not invoke a local program command = root.find("command") if command is not None and command.text is not None: self.command = command.text.lstrip() # get rid of leading whitespace + # Must pre-pend this AFTER processing the cheetah command template + self.interpreter = command.get( "interpreter", None ) else: self.command = '' - # Must pre-pend this AFTER processing the cheetah command template - self.interpreter = command.get("interpreter", None) + self.interpreter = None # Parameters used to build URL for redirection to external app redirect_url_params = root.find( "redirect_url_params" ) if redirect_url_params is not None and redirect_url_params.text is not None: 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.
participants (1)
-
Bitbucket