Skip to content

Commit

Permalink
doc: fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Mar 12, 2024
1 parent c0ae2c1 commit 7a9729c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybedlite/overlap_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def from_bedrecord(cls: Type["Interval"], record: BedRecord) -> "Interval":
class OverlapDetector(Iterable[Interval]):
"""Detects and returns overlaps between a set of genomic regions and another genomic region.
Since :class:`~samwell.overlap_detector.Interval` objects are used both to populate the
Since :class:`~pybedlite.overlap_detector.Interval` objects are used both to populate the
overlap detector and to query it, the coordinate system in use is also 0-based open-ended.
The same interval may be added multiple times, but only a single instance will be returned
Expand Down Expand Up @@ -261,7 +261,7 @@ def get_enclosed(self, interval: Interval) -> List[Interval]:

@classmethod
def from_bed(cls, path: Path) -> "OverlapDetector":
"""Builds an :class:`~pybedlite.overlap_detector.OverlapDetector` from a BED file.
"""Builds a :class:`~pybedlite.overlap_detector.OverlapDetector` from a BED file.
Args:
path: the path to the BED file
Returns:
Expand Down

0 comments on commit 7a9729c

Please sign in to comment.