mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
add from __future__ import print statement -> print() function xrange -> range map() -> list(map()) range() -> list(range()) StandardError -> Exception
13 lines
343 B
Python
13 lines
343 B
Python
# 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")
|