[Chimera-users] listen selection command

Elaine Meng meng at cgl.ucsf.edu
Mon May 4 10:40:36 PDT 2015


Hi Mungo,
As for Chimera standalone (notifications sent to stdout rather than a REST service), I experimented a bit.  Using the Mac version of Chimera, I opened a structure and changed selections after using the command:  listen start selection

(A) when I started Chimera by clicking the icon, I’m not sure where the notifications went (I didn’t know where to look for stdout)

(B) when I started Chimera from the Terminal prompt as per <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/startup.html>, I could see the notifications in that same Terminal window.  For example:

[chopin:~] meng% /Applications/Chimera1.10.1.app/Contents/MacOS/chimera
SelectionChanged: selection changed
SelectionChanged: selection changed

Thus it is working at some level, although a more complete answer regarding notifications to a REST service may not be forthcoming until our expert on this topic returns to work in a couple of days.
Best,
Elaine
----------
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On May 1, 2015, at 8:43 AM, Mungo Carstairs (Staff) <g.m.carstairs at dundee.ac.uk> wrote:
> 
> Hi,
> 
> I am trying out a REST listener for selections in Chimera and need help.
> I can talk to Chimera over REST.
> I can start an Http listener in Jalview - and verify it in my browser.
> I have sent this command to Chimera:
> 
> listen start selection rest http://134.36.162.131:64745/
> 
> Then silence. I haven't managed to provoke Chimera into sending me a SelectionChanged notification.
> I am making selections in the Chimera window - as I can see by the 'Inspect Selection' panel.
> 
> I have also started Chimera standalone (no REST service) and tried the listen command in the command line, but yet to see any output on a selection.
> 
> What have I missed or how can I diagnose what I am doing wrong here?
> 
> Thanks,
> Mungo Carstairs




More information about the Chimera-users mailing list