Explicitly require source argument to RawBedDataProvider.get_iterator instead of relying on it in kwargs

This commit is contained in:
Dannon Baker
2013-08-29 23:06:53 -04:00
parent 46127b2bf5
commit 8a957a5449
@@ -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]