Files
LPP/examples/test_vmd.py
danielque 539fd060c2 python 3 compatibility for examples/*.py files
add from __future__ import
print statement -> print() function
xrange -> range
map() -> list(map())
range() -> list(range())
StandardError -> Exception
2023-08-10 13:25:36 +02:00

12 lines
284 B
Python

# simple test of vmd tool
# requires files/dump.peptide.only and files/dump.bond
# uses gl and vcr tools to visualize peptide molecule with bonds
v = vmd()
v('menu main off')
v.rep('VDW')
v.new('files/peptide.pdb','pdb')
v.flush()
print("all done ... type CTRL-D to exit Pizza.py")