[Chimera-users] listen selection command
Mungo Carstairs (Staff)
g.m.carstairs at dundee.ac.uk
Tue May 5 02:22:16 PDT 2015
I tried changing 'rest' to 'url' but no joy.
I've also tried changing the IP address to 'localhost' and to '127.0.0.1' but no better.
I also separated out my command
"listen start selection rest <url>; listen start models rest <url>"
into two separate commands, also no change.
Ditto abbreviating 'selection' to 'select'.
Like Elaine, I did manage to see the "selection changed" message in a terminal window after starting Chimera that way and issuing the "listen start select" in the command line tool.
So still stumped.
[By the way, am I right in thinking the 'listen' command won't generate any callback for hovering over an atom to get the popup? Jmol can do this. Probably not needed if we can get the selection notification to work.]
Jalview Computational Scientist
The Barton Group
Division of Computational Biology
College of Life Sciences
University of Dundee, Dundee, Scotland, UK.
From: Conrad Huang <conrad at cgl.ucsf.edu>
Sent: 04 May 2015 18:47
To: Mungo Carstairs (Staff); chimera-users at cgl.ucsf.edu
Subject: Re: [Chimera-users] listen selection command
Can you please try using "listen start selection url
http://22.214.171.124:64745/", i.e., use "url" instead of "rest" as the
keyword? I think that keyword may have been changed at some point and
the code and documentation got out of sync (strictly my fault). Let me
know if that does not fix things.
On 5/1/2015 8:43 AM, Mungo Carstairs (Staff) wrote:
> I am trying out a REST listener for selections in Chimera and need
> I can talk to Chimera over REST.
> I can start an Http listener in Jalview - and verify it in my
> I have sent this command to Chimera:
> listen start selection rest http://126.96.36.199: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?
> Mungo Carstairs Jalview Computational Scientist The Barton Group
> Division of Computational Biology College of Life Sciences University
> of Dundee, Dundee, Scotland, UK. www.jalview.org
> <http://www.jalview.org/> www.compbio.dundee.ac.uk
> The University of Dundee is a registered Scottish Charity, No:
> _______________________________________________ Chimera-users mailing
> list Chimera-users at cgl.ucsf.edu
The University of Dundee is a registered Scottish Charity, No: SC015096
More information about the Chimera-users