|
From: Nat E. <nat...@gm...> - 2012-01-23 20:55:59
|
On Mon, Jan 23, 2012 at 12:42 PM, Simon Becker <sim...@un...> 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 |