diff --git a/pybedlite/overlap_detector.py b/pybedlite/overlap_detector.py index 325cef6..122a6fc 100644 --- a/pybedlite/overlap_detector.py +++ b/pybedlite/overlap_detector.py @@ -112,10 +112,10 @@ def from_bedrecord(cls: Type["Interval"], record: BedRecord) -> "Interval": reading a record that does not have a specified strand. Args: - interval: The `Interval` instance to convert. + record: The `BedRecord` instance to convert. Returns: - A `BedRecord` corresponding to the same region specified in the interval. + An `Interval` corresponding to the same region specified in the record. """ return cls( refname=record.chrom,