mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
Committer: ckloss <ckloss@fluid38.(none)>
On branch master Initial commit for lpp, version 2011-10-11
This commit is contained in:
12
examples/test_bdump.py
Normal file
12
examples/test_bdump.py
Normal file
@ -0,0 +1,12 @@
|
||||
# simple test of dump tool
|
||||
# requires files/dump.peptide.only and files/dump.bond
|
||||
# uses gl and vcr tools to visualize peptide molecule with bonds
|
||||
|
||||
dm = dump("files/dump.peptide.only")
|
||||
b = bdump("files/dump.bond")
|
||||
b.map(1,"id",2,"type",3,"atom1",4,"atom2")
|
||||
dm.extra(b)
|
||||
g = gl(dm)
|
||||
v = vcr(g)
|
||||
|
||||
print "all done ... type CTRL-D to exit Pizza.py"
|
||||
Reference in New Issue
Block a user