Remove blank lines within Tutorial doctests

Not important with LaTeX, troublesome with RST
This commit is contained in:
Peter Cock
2024-01-03 16:05:23 +00:00
parent 5760b3a42c
commit f9ec51626d
2 changed files with 0 additions and 6 deletions

View File

@ -913,7 +913,6 @@ The \verb|Alignments| (plural) class inherits from \verb|AlignmentsAbstractBaseC
%cont-doctest %cont-doctest
\begin{minted}{pycon} \begin{minted}{pycon}
>>> from Bio.Align import Alignments >>> from Bio.Align import Alignments
>>> alignment_list = [alignment1, alignment2, alignment3] >>> alignment_list = [alignment1, alignment2, alignment3]
>>> for item in alignment_list: >>> for item in alignment_list:
... print(repr(item)) # doctest: +ELLIPSIS ... print(repr(item)) # doctest: +ELLIPSIS
@ -921,14 +920,12 @@ The \verb|Alignments| (plural) class inherits from \verb|AlignmentsAbstractBaseC
<Alignment object (2 rows x 24 columns) at ...> <Alignment object (2 rows x 24 columns) at ...>
<Alignment object (2 rows x 8 columns) at ...> <Alignment object (2 rows x 8 columns) at ...>
<Alignment object (2 rows x 19 columns) at ...> <Alignment object (2 rows x 19 columns) at ...>
>>> for item in alignment_list: >>> for item in alignment_list:
... print(repr(item)) # doctest: +ELLIPSIS ... print(repr(item)) # doctest: +ELLIPSIS
... ...
<Alignment object (2 rows x 24 columns) at ...> <Alignment object (2 rows x 24 columns) at ...>
<Alignment object (2 rows x 8 columns) at ...> <Alignment object (2 rows x 8 columns) at ...>
<Alignment object (2 rows x 19 columns) at ...> <Alignment object (2 rows x 19 columns) at ...>
>>> alignments = Alignments([alignment1, alignment2, alignment3]) >>> alignments = Alignments([alignment1, alignment2, alignment3])
>>> for item in alignments: >>> for item in alignments:
... print(repr(item)) # doctest: +ELLIPSIS ... print(repr(item)) # doctest: +ELLIPSIS
@ -936,7 +933,6 @@ The \verb|Alignments| (plural) class inherits from \verb|AlignmentsAbstractBaseC
<Alignment object (2 rows x 24 columns) at ...> <Alignment object (2 rows x 24 columns) at ...>
<Alignment object (2 rows x 8 columns) at ...> <Alignment object (2 rows x 8 columns) at ...>
<Alignment object (2 rows x 19 columns) at ...> <Alignment object (2 rows x 19 columns) at ...>
>>> for item in alignments: >>> for item in alignments:
... print(repr(item)) # doctest: +ELLIPSIS ... print(repr(item)) # doctest: +ELLIPSIS
... ...

View File

@ -1287,8 +1287,6 @@ To begin, we extract the distances and chirality values from `myChain':
%cont-doctest %cont-doctest
\begin{minted}{pycon} \begin{minted}{pycon}
>>> # build structure from distance plot:
>>> ## create the all-atom distance plot >>> ## create the all-atom distance plot
>>> distances = myCic.distance_plot() >>> distances = myCic.distance_plot()
>>> ## get the signs of the dihedral angles >>> ## get the signs of the dihedral angles