1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/1fdcce63a06f/ changeset: 1fdcce63a06f user: dan date: 2012-04-15 14:37:00 summary: Fix for workflow module.__get_tool_version. affected #: 1 file diff -r ac82d151373366b0b6f1a6a6e32642eb9d01dfd0 -r 1fdcce63a06fa62ef5789967d929dc78d46c3eb4 lib/galaxy/workflow/modules.py --- a/lib/galaxy/workflow/modules.py +++ b/lib/galaxy/workflow/modules.py @@ -199,7 +199,7 @@ # TODO: If workflows are ever enhanced to use tool version # in addition to tool id, enhance the selection process here # to retrieve the correct version of the tool. - tool_version = self.__get_tool_version( trans, tool_id ) + tool_version = Class.__get_tool_version( trans, tool_id ) if tool_version: tool_version_ids = tool_version.get_version_ids( trans.app ) for tool_version_id in tool_version_ids: @@ -219,7 +219,8 @@ module.post_job_actions = pjadict return module return None - def __get_tool_version( self, trans, tool_id ): + @classmethod + def __get_tool_version( cls, trans, tool_id ): # Return a ToolVersion if one exists for tool_id. return trans.sa_session.query( trans.app.model.ToolVersion ) \ .filter( trans.app.model.ToolVersion.table.c.tool_id == tool_id ) \ 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.