[chimera-dev] per-frame python script

James Prestegard jpresteg at ccrc.uga.edu
Wed Jul 19 14:19:40 PDT 2017


I'm trying to write a script to be used in the per-frame operation of chimera MD Movie (I'm not an accomplished python programmer).   The script I wrote calculates order parameters and internal relaxation elements.  It appears that I have to import some chimera commands as well as the python math library to do this.  Everything works on a single frame, but I need to pass some variables from frame to frame, and the import commands appear to reset all variables at each new frame.  Is there a way to set some global variables or to do the imports only once outside the pre-frame script?
Jim

James H. Prestegard
Professor and GRA Eminent Scholar, Emeritus
Complex Carbohydrate Research Center
University of Georgia
Athens, Georgia, 30602, USA
706-542-6281

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20170719/b6d9e727/attachment.html>


More information about the Chimera-dev mailing list