Kersey Black wrote:
> 3)  Where can I find the source to the "scripted animation" Demo
> (arginine conformations)?

The source for all the demos is in the the file
".../modules/pmg_tk/Demo.py" 
starting from the PyMol base directory. The arginine demo is in the
method 
"anime":

   def anime(self,cleanup=0):
      if not cleanup:
         cmd.disable()
         cmd.delete("arg")
         cmd.fragment("arg")
         cmd.zoom("arg",2)
         cmd.show("sticks","arg")
         cmd.feedback('dis','sel','res')
         for a in xrange(1,181):
            cmd.set("suspend_updates",1,quiet=1)
            cmd.edit("(arg and n;cd)","(arg and n;cg)")
            cmd.torsion("6")
            cmd.unpick()
            cmd.edit("(arg and n;cb)","(arg and n;ca)")
            cmd.torsion("2")
            cmd.unpick()
            cmd.set("suspend_updates",0,quiet=1)
            cmd.refresh()
         cmd.feedback('ena','sel','res')
      else:
         cmd.delete("arg")

-- 
Lieven Buts
Department of Ultrastructure
Brussels Free University

Reply via email to