[chimera-dev] tangent wave
goddard at sonic.net
Wed Mar 26 21:49:11 PDT 2014
If you run “chimera —send somecode.py” from a shell it will try to use a socket to send the Python file to an already running Chimera. Writing code to establish your own socket connection will be a major pain. It has to be integrated into the Tk event loop.
You’d probably be better off sending Chimera an http request using the Chimera RESTServer capability described here
An older mechanism of talking to Chimera by sending commands to it standard input (stdin), but this requires starting Chimera with another process piping the commands to Chimera.
I recommend trying RESTServer.
On Mar 26, 2014, at 2:37 AM, Dougherty, Matthew T wrote:
> I just purchased a Tangent Wave that I plan to interface into chimera.
> The best design is to use sockets. Is there any precedence for using sockets in chimera?
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
More information about the Chimera-dev