From 0808d88b6b298286224cd2b63350cb4479cfb436 Mon Sep 17 00:00:00 2001 From: David Doty Date: Wed, 19 Aug 2020 08:59:46 -0700 Subject: [PATCH] fixed code display in docstrings --- scadnano/scadnano.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scadnano/scadnano.py b/scadnano/scadnano.py index 9154f204..c260476d 100644 --- a/scadnano/scadnano.py +++ b/scadnano/scadnano.py @@ -2127,9 +2127,9 @@ def with_domain_sequence(self, sequence: str, assign_complement: bool = True) -> .. code-block:: Python - design.strand(0, 5).to(8).with_domain_sequence('AAA')\ - .cross(1).to(5).with_domain_sequence('TTT')\ - .loopout(2, 4).with_domain_sequence('CCCC')\ + design.strand(0, 5).to(8).with_domain_sequence('AAA')\\ + .cross(1).to(5).with_domain_sequence('TTT')\\ + .loopout(2, 4).with_domain_sequence('CCCC')\\ .to(10).with_domain_sequence('GGGGG') :param sequence: the DNA sequence to assign to the :any:`Domain` @@ -2171,9 +2171,9 @@ def with_domain_label(self, label) -> 'StrandBuilder': .. code-block:: Python - design.strand(0, 5).to(8).with_domain_label('domain 1')\ - .cross(1).to(5).with_domain_label('domain 2')\ - .loopout(2, 4).with_domain_label('domain 3')\ + design.strand(0, 5).to(8).with_domain_label('domain 1')\\ + .cross(1).to(5).with_domain_label('domain 2')\\ + .loopout(2, 4).with_domain_label('domain 3')\\ .to(10).with_domain_label('domain 4') :param label: label to assign to the :any:`Domain`