diff --git a/modules/seq/base/doc/seq.rst b/modules/seq/base/doc/seq.rst index 64ac6d3a7d974446f95657f30748d3ddc508f325..e84cfe6747c627a07f7c756eb26397ce95e1598d 100644 --- a/modules/seq/base/doc/seq.rst +++ b/modules/seq/base/doc/seq.rst @@ -54,7 +54,7 @@ methods, sequences can also be loaded from a string: seq_string='''>sequence abcdefghiklmnop''' - s=io.LoadSequenceFromString(seq_string, 'fasta') + s=io.SequenceFromString(seq_string, 'fasta') print s.name, s # will print "sequence abcdefghiklmnop" Note that, in that case specifying the format is mandatory.