
Hi Conrad, I think I have goofed over a couple of major details... 1) I was trying to send "listen" command to Chimera before I'd launched Chimera (!) 2) once that was corrected, noticed I had a "list stop selection" command being sent from somewhere else in my code I am now starting to get notifications from Chimera (using 'url' rather than 'rest', as suggested). Thanks for your help, 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