commit/galaxy-central: dan: When extracting a workflow from a history, provide a warning message if the tool version for the job does not match the tool version of the currently loaded tool.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/4ce18911037c/ changeset: 4ce18911037c user: dan date: 2012-11-07 15:52:43 summary: When extracting a workflow from a history, provide a warning message if the tool version for the job does not match the tool version of the currently loaded tool. affected #: 1 file diff -r 6ff28399645ae158a03cec4b32c15a78da9b8018 -r 4ce18911037cc4297a84dfcfe81f36ccac98d425 templates/workflow/build_from_current_history.mako --- a/templates/workflow/build_from_current_history.mako +++ b/templates/workflow/build_from_current_history.mako @@ -1,4 +1,5 @@ <%inherit file="/base.mako"/> +<%namespace file="/message.mako" import="render_msg" /><% _=n_ %> @@ -111,6 +112,10 @@ disabled = True else: disabled = False + if tool and tool.version != job.tool_version: + tool_version_warning = 'Dataset was created with tool version "%s", but workflow extraction will use version "%s".' % ( job.tool_version, tool.version ) + else: + tool_version_warning = '' %><tr> @@ -123,6 +128,9 @@ <div style="font-style: italic; color: gray">This tool cannot be used in workflows</div> %else: <div><input type="checkbox" name="job_ids" value="${job.id}" checked="true" />Include "${tool_name}" in workflow</div> + %if tool_version_warning: + ${ render_msg( tool_version_warning, status="warning" ) } + %endif %endif </div></div> 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