commit/galaxy-central: jgoecks: Do not find valid chroms because this is computationally expensive and not currently used.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/73bae197e5fe/ changeset: 73bae197e5fe user: jgoecks date: 2012-01-23 01:48:05 summary: Do not find valid chroms because this is computationally expensive and not currently used. affected #: 1 file diff -r 9b7a615b39648a2911c483f8d3b693931ca5c1b4 -r 73bae197e5fe3a420cd90326d80c7a2173e619a8 lib/galaxy/web/controllers/tracks.py --- a/lib/galaxy/web/controllers/tracks.py +++ b/lib/galaxy/web/controllers/tracks.py @@ -535,6 +535,8 @@ if msg: return msg + # NOTE: finding valid chroms is prohibitive for large summary trees and is not currently used by + # the client. valid_chroms = None # Check for data in the genome window. if data_sources.get( 'index' ): @@ -543,15 +545,14 @@ indexer = get_data_provider( tracks_dataset_type )( converted_dataset, dataset ) if not indexer.has_data( chrom ): return messages.NO_DATA - valid_chroms = indexer.valid_chroms() + #valid_chroms = indexer.valid_chroms() else: # Standalone data provider standalone_provider = get_data_provider( data_sources['data_standalone']['name'] )( dataset ) kwargs = {"stats": True} if not standalone_provider.has_data( chrom ): return messages.NO_DATA - valid_chroms = standalone_provider.valid_chroms() - + #valid_chroms = standalone_provider.valid_chroms() # Have data if we get here return { "status": messages.DATA, "valid_chroms": valid_chroms } 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