[Chimera-users] listen selection command

Mungo Carstairs (Staff) g.m.carstairs at dundee.ac.uk
Thu May 7 01:00:49 PDT 2015


Problem now resolved:

1) fixed the rubbish in my code as noted in last post
2) changed 'url' to 'rest' in the "listen start selection" command
3) fixed a configuration issue in Jetty which was causing Http POST to be redirected (to GET)
http://stackoverflow.com/questions/17886865/post-request-becomes-get

I am now getting the full Chimera POST messages as they should be.

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
www.compbio.dundee.ac.uk

________________________________________
From: Mungo Carstairs (Staff)
Sent: 05 May 2015 12:37
To: Conrad Huang; chimera-users at cgl.ucsf.edu
Subject: Re: [Chimera-users] listen selection command

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 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://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 at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>

The University of Dundee is a registered Scottish Charity, No: SC015096



More information about the Chimera-users mailing list