commit/galaxy-central: dannon: Prevent parameter mismatch from preventing display of svg and throwing exception. Still needs to be handled gracefully w/ defaults -- see comment.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3c60f6a7dedc/ Changeset: 3c60f6a7dedc User: dannon Date: 2013-08-21 15:57:53 Summary: Prevent parameter mismatch from preventing display of svg and throwing exception. Still needs to be handled gracefully w/ defaults -- see comment. Affected #: 1 file diff -r 706834360e2ace3d41146ff60d252715c5b726f1 -r 3c60f6a7dedcf91ded89336252fc72346b1781f6 lib/tool_shed/util/workflow_util.py --- a/lib/tool_shed/util/workflow_util.py +++ b/lib/tool_shed/util/workflow_util.py @@ -108,7 +108,12 @@ label=prefixed_label, extensions=input.extensions ) ) if self.tool: - galaxy.tools.parameters.visit_input_values( self.tool.inputs, self.state.inputs, callback ) + try: + galaxy.tools.parameters.visit_input_values( self.tool.inputs, self.state.inputs, callback ) + except: + # TODO have this actually use default parameters? Fix at + # refactor, needs to be discussed wrt: reproducibility though. + log.exception("Tool parse failed for %s -- this indicates incompatibility of local tool version with expected version by the workflow." % self.tool.id) return data_inputs def get_data_outputs( self ): 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)
-
commits-noreply@bitbucket.org