commit/galaxy-central: greg: Handle missing entries in the failed tests dictionary in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e3fae8e819f2/ Changeset: e3fae8e819f2 User: greg Date: 2013-04-25 22:33:41 Summary: Handle missing entries in the failed tests dictionary in the tool shed. Affected #: 1 file diff -r 1d56c002d32e9116f9c6dc57587d9ffa00e24ca0 -r e3fae8e819f24eb43e555f857a15a77a1584b84e lib/galaxy/webapps/tool_shed/util/container_util.py --- a/lib/galaxy/webapps/tool_shed/util/container_util.py +++ b/lib/galaxy/webapps/tool_shed/util/container_util.py @@ -1041,11 +1041,11 @@ for failed_tests_dict in failed_tests_dicts: failed_test_id += 1 failed_test = FailedTest( id=failed_test_id, - stderr=failed_tests_dict[ 'stderr' ], - test_id=failed_tests_dict[ 'test_id' ], - tool_id=failed_tests_dict[ 'tool_id' ], - tool_version=failed_tests_dict[ 'tool_version' ], - traceback=failed_tests_dict[ 'traceback' ] ) + stderr=failed_tests_dict.get( 'stderr', '' ), + test_id=failed_tests_dict.get( 'test_id', '' ), + tool_id=failed_tests_dict.get( 'tool_id', '' ), + tool_version=failed_tests_dict.get( 'tool_version', '' ), + traceback=failed_tests_dict.get( 'traceback', '' ) ) folder.failed_tests.append( failed_test ) missing_test_components_dicts = tool_test_results_dict[ 'missing_test_components' ] if missing_test_components_dicts: 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