diff --git a/prymer/api/coordmath.py b/prymer/api/coordmath.py index 38e0150..1230a86 100644 --- a/prymer/api/coordmath.py +++ b/prymer/api/coordmath.py @@ -18,6 +18,7 @@ def get_closed_end(start: int, length: int) -> int: ```python >>> get_closed_end(start=10, length=5) 14 + ``` """ return start + length - 1 diff --git a/prymer/model.py b/prymer/model.py index 4f74869..471b1b0 100644 --- a/prymer/model.py +++ b/prymer/model.py @@ -119,6 +119,7 @@ class Span(Metric["Span"]): Span(refname='chr1', start=6, end=10, strand=) >>> print(span.length) 10 + ``` """ @@ -158,6 +159,7 @@ def from_string(cls, line: str) -> "Span": >>> span_string = "chr1:1-10:+" >>> Span.from_string(span_string) Span(refname='chr1', start=1, end=10, strand=) + ``` """ @@ -565,6 +567,7 @@ class PrimerPair: Span(refname='chr1', start=1, end=120, strand=) >>> list(primer_pair) [Oligo(bases='GGGGGGGGGGGGGGGGGGGG', tm=70.0, span=Span(refname='chr1', start=1, end=20, strand=), penalty=-123.0, name=None, tm_homodimer=None, tm_3p_anchored_homodimer=None, tm_secondary_structure=None, tail=None), Oligo(bases='TTTTTTTTTTTTTTTTTTTT', tm=70.0, span=Span(refname='chr1', start=101, end=120, strand=), penalty=-123.0, name=None, tm_homodimer=None, tm_3p_anchored_homodimer=None, tm_secondary_structure=None, tail=None)] + ``` """ # noqa: E501 diff --git a/prymer/ntthal/__init__.py b/prymer/ntthal/__init__.py index a69eaf3..6739cbc 100644 --- a/prymer/ntthal/__init__.py +++ b/prymer/ntthal/__init__.py @@ -101,6 +101,7 @@ def duplex_tm(self, s1: str, s2: str) -> float: >>> t = NtThermoAlign() >>> t.duplex_tm(s1 = "ACGT", s2 = "ACGT") -46.542706 + ``` Returns: diff --git a/prymer/primer3/primer3_input.py b/prymer/primer3/primer3_input.py index a20b4ac..63ca943 100644 --- a/prymer/primer3/primer3_input.py +++ b/prymer/primer3/primer3_input.py @@ -91,6 +91,7 @@ PRIMER_WT_SELF_ANY_TH -> 0.0 PRIMER_WT_SELF_END_TH -> 0.0 PRIMER_WT_HAIRPIN_TH -> 0.0 + ``` """