On Mon, Jan 23, 2012 at 12:42 PM, Simon Becker <simon.bec...@uni-konstanz.de> wrote: > I would like to visualize the intermediate structures my program > produces during the computation cycle. Every iteration it generates a > new structure. Is there a way to display this structure in pymol, using > e.g. a pipe? Does anyone have experience with this, is there even a > tutorial or manual entry that I failed to find?
I have quite a bit of experience with this - the quick answer is to use either XML-RPC, or run a thread monitoring a file to see if it changes. There is a built in XML-RPC server that I believe is started with the "-R" command-line flag, but I ended up coding my own. (You can use the Python getattr() function to automatically pull methods from the various PyMOL APIs, which saves a lot of time coding individual wrapper functions). I can send you an example if you're interested. -Nat ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net