commit/galaxy-central: greg: Tool shed api fix for filtering tools that should not be tested via the tool shed's install and test framework.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/228156daa575/ Changeset: 228156daa575 User: greg Date: 2013-11-29 23:06:02 Summary: Tool shed api fix for filtering tools that should not be tested via the tool shed's install and test framework. Affected #: 1 file diff -r 820ff73e8aab805b7f4f4f50cb66d0f47adc5bc2 -r 228156daa575892f92d81c30a7e0f0ec4fa6b960 lib/galaxy/webapps/tool_shed/api/repository_revisions.py --- a/lib/galaxy/webapps/tool_shed/api/repository_revisions.py +++ b/lib/galaxy/webapps/tool_shed/api/repository_revisions.py @@ -107,10 +107,9 @@ skip_tool_test = kwd.get( 'skip_tool_test', None ) if skip_tool_test is not None: skip_tool_test = util.string_as_bool( skip_tool_test ) + if skip_tool_test: skipped_metadata_ids_subquery = select( [ trans.app.model.SkipToolTest.table.c.repository_metadata_id ] ) - if skip_tool_test: - clause_list.append( trans.model.RepositoryMetadata.id.in_( skipped_metadata_ids_subquery ) ) - else: + if skipped_metadata_ids_subquery: clause_list.append( not_( trans.model.RepositoryMetadata.id.in_( skipped_metadata_ids_subquery ) ) ) # Generate and execute the query. try: 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