commit/galaxy-central: Jeremy Goecks: Simplification for dowsampler in bam data provider
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/880974da3ca4/ Changeset: 880974da3ca4 User: Jeremy Goecks Date: 2014-04-25 03:24:33 Summary: Simplification for dowsampler in bam data provider Affected #: 1 file diff -r d1dd573cdce2bd122cbb0e98e947dc7992fe3ed0 -r 880974da3ca4d3d76bcf8b11184cb42c4aee95b7 lib/galaxy/visualization/data_providers/genome.py --- a/lib/galaxy/visualization/data_providers/genome.py +++ b/lib/galaxy/visualization/data_providers/genome.py @@ -952,8 +952,7 @@ # Convert threshold to N for stepping through iterator. n = int( 1/threshold ) - for e in itertools.islice( read_iterator, None, None, n ): - yield e + return itertools.islice( read_iterator, None, None, n ) # Alternatate and much slower implementation that looks for pending pairs. ''' 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