mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Explicitly require source argument to RawBedDataProvider.get_iterator instead of relying on it in kwargs
This commit is contained in:
@@ -568,7 +568,7 @@ class RawBedDataProvider( BedDataProvider ):
|
||||
for large datasets.
|
||||
"""
|
||||
|
||||
def get_iterator( self, chrom=None, start=None, end=None, **kwargs ):
|
||||
def get_iterator( self, source, chrom=None, start=None, end=None, **kwargs ):
|
||||
# Read first line in order to match chrom naming format.
|
||||
line = source.readline()
|
||||
dataset_chrom = line.split()[0]
|
||||
|
||||
Reference in New Issue
Block a user