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:
21
examples/test_rasmol.py
Normal file
21
examples/test_rasmol.py
Normal file
@ -0,0 +1,21 @@
|
||||
# simple test of rasmol tool
|
||||
# requires files/dump.peptide and files/peptide.pdb
|
||||
# creates tmp*.pdb and tmp*.gif
|
||||
|
||||
d = dump("files/dump.peptide")
|
||||
d.unwrap()
|
||||
p = pdbfile("files/peptide",d)
|
||||
r = rasmol(p)
|
||||
r.file = "tmp"
|
||||
|
||||
print "kill image window when ready to contine ..."
|
||||
r.show(0)
|
||||
r.all()
|
||||
|
||||
# change RasMol settings, run all() with those settings
|
||||
|
||||
print "change RasMol settings as desired, then type 'quit' ..."
|
||||
r.run(0)
|
||||
r.all("tmp.rasmol")
|
||||
|
||||
print "all done ... type CTRL-D to exit Pizza.py"
|
||||
Reference in New Issue
Block a user