1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/a2f58a2b8787/ changeset: a2f58a2b8787 user: greg date: 2013-03-11 15:49:12 summary: Do not display unnecessary invalid test tesults when displaying functional test results in the tool shed. affected #: 1 file
diff -r 15fe17fcdeb7d7a86f605bc93600242c843d897d -r a2f58a2b87876f8db9a8703782633b84f4dc13ef templates/webapps/tool_shed/repository/display_tool_functional_test_results.mako --- a/templates/webapps/tool_shed/repository/display_tool_functional_test_results.mako +++ b/templates/webapps/tool_shed/repository/display_tool_functional_test_results.mako @@ -253,7 +253,7 @@ guid = test_results_dict.get( 'tool_guid', None ) tool_id = test_results_dict.get( 'tool_id', None ) tool_version = test_results_dict.get( 'tool_version', None ) - reason_test_is_invalid = test_results_dict.get( 'reason_test_is_invalid', 'unknown' ) + reason_test_is_invalid = test_results_dict.get( 'reason_test_is_invalid', None ) if reason_test_is_invalid: reason_test_is_invalid = to_safe_string( reason_test_is_invalid, to_html=True ) %> @@ -262,10 +262,12 @@ <td colspan="2" bgcolor="#FFFFCC">Tool id: <b>${tool_id}</b> version: <b>${tool_version}</b></td></tr> %endif - <tr> - <td><b>Reason test is invalid</b></td> - <td>${reason_test_is_invalid}</td> - </tr> + %if reason_test_is_invalid: + <tr> + <td><b>Reason test is invalid</b></td> + <td>${reason_test_is_invalid}</td> + </tr> + %endif %endfor </table></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.
galaxy-commits@lists.galaxyproject.org