
Hi Conrad, 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.] Thanks, Mungo 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 www.compbio.dundee.ac.uk ________________________________________ From: Conrad Huang <conrad@cgl.ucsf.edu> Sent: 04 May 2015 18:47 To: Mungo Carstairs (Staff); chimera-users@cgl.ucsf.edu Subject: Re: [Chimera-users] listen selection command Can you please try using "listen start selection url http://134.36.162.131: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. Conrad On 5/1/2015 8:43 AM, Mungo Carstairs (Staff) 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 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 <http://www.compbio.dundee.ac.uk/>
The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
The University of Dundee is a registered Scottish Charity, No: SC015096