From c0ae2c1b6cd1d840d607f3201bc559e030642356 Mon Sep 17 00:00:00 2001 From: Matt Stone Date: Tue, 12 Mar 2024 09:18:23 -0400 Subject: [PATCH] doc: fix docstring --- pybedlite/overlap_detector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,