Skip to content

Commit

Permalink
fixed code display in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Aug 19, 2020
1 parent 37db033 commit 0808d88
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 0808d88

Please sign in to comment.