Skip to content
Snippets Groups Projects
Commit 55ad44fb authored by juergen's avatar juergen
Browse files

adding test for loading pdbs and generating the sequence for module io

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2462 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent f93ba9b4
Branches
Tags
No related merge requests found
......@@ -176,15 +176,22 @@ For a list of file formats supported by :func:`SaveSequence` see :doc:`formats`.
For a list of file formats supported by :func:`SaveAlignment` see :doc:`formats`.
.. testsetup:: *
import io
.. doctest::
CHECKME
.. testcode::
print 'hi'
.. testoutput::
.. testsetup:: io
from ost import io
.. testcode:: io
:hide:
from ost import io,seq
ent=io.LoadPDB('./examples/entity/fragment.pdb')
print ent.atom_count
myseq=seq.SequenceFromChain('t',ent.chains[0])
print myseq.GetLength()
.. testoutput:: io
:hide:
81
12
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment