Permalink
Browse files

Fix typo and cross-platform newline in Tutorial.

Thanks to David Martin for spotting the typo,
https://twitter.com/bioinformagic/status/276287017887887361
  • Loading branch information...
1 parent 52fdd0e commit 798a834dba342c3edc4d5ff21a5897790f4554d0 @peterjc peterjc committed Dec 5, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 Doc/Tutorial.tex
View
@@ -80,7 +80,7 @@
\author{Jeff Chang, Brad Chapman, Iddo Friedberg, Thomas Hamelryck, \\
Michiel de Hoon, Peter Cock, Tiago Antao, Eric Talevich, Bartek Wilczy\'{n}ski}
-\date{Last Update -- 26 November 2012 (Biopython 1.60+)}
+\date{Last Update -- 5 December 2012 (Biopython 1.60+)}
%Hack to get the logo at the start of the HTML front page:
%(hopefully this isn't going to be too wide for most people)
@@ -4295,7 +4295,8 @@ \subsection{Alignments as arrays}
\begin{verbatim}
>>> import numpy as np
->>> from Bio import AlignIO>>> alignment = AlignIO.read("PF05371_seed.sth", "stockholm")
+>>> from Bio import AlignIO
+>>> alignment = AlignIO.read("PF05371_seed.sth", "stockholm")
>>> align_array = np.array([list(rec) for rec in alignment], np.character)
>>> print align_array
[['A' 'E' 'P' 'N' 'A' 'A' 'T' 'N' 'Y' 'A' 'T' 'E' 'A' 'M' 'D' 'S' 'L' 'K'
@@ -12866,7 +12867,7 @@ \subsection{Features without a SeqFeature}
feature = SeqFeature(FeatureLocation(25, 125), strand=+1)
gds_features.add_feature(feature, name="Forward", label=True)
feature = SeqFeature(FeatureLocation(150, 250), strand=None)
-gds_features.add_feature(feature, name="Standless", label=True)
+gds_features.add_feature(feature, name="Strandless", label=True)
feature = SeqFeature(FeatureLocation(275, 375), strand=-1)
gds_features.add_feature(feature, name="Reverse", label=True)

0 comments on commit 798a834

Please sign in to comment.