1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6ecb31395618/ Changeset: 6ecb31395618 User: Jeremy Goecks Date: 2014-04-01 20:45:34 Summary: Fix for 615d504: do not use downsampling when all reads can be returned. Affected #: 1 file diff -r 6f4c44ef44a3d2df0778c0d4b6b27efc8014c1db -r 6ecb313956184d2d78f503ee918618d218ed9791 lib/galaxy/visualization/data_providers/genome.py --- a/lib/galaxy/visualization/data_providers/genome.py +++ b/lib/galaxy/visualization/data_providers/genome.py @@ -971,7 +971,10 @@ threshold = float( max_vals )/ num_reads iterator = itertools.chain( iter( [ first_read ] ), iterator ) - if iterator_type == 'sequential': + # Use specified iterator type, save for when threshold is >= 1. + # A threshold of >= 1 indicates all reads are to be returned, so no + # sampling needed and seqential iterator will be used. + if iterator_type == 'sequential' or threshold >= 1: read_iterator = iterator elif iterator_type == 'random': read_iterator = _random_read_iterator( iterator, threshold ) 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.