Any XML-RPC fans who can help me with this please?
This label command works in the PyMOL command line:
label 4zho//A/36/CA 4zho//B/36/CA, "hello world"
How do I format an equivalent XML-RPC request? I've tried <methodCall> <methodName>label</methodName> <params> <parameter> <value>4zho//A/36/CA 4zho//B/36/CA</value> </parameter> <parameter> <value>"hello world"</value> </parameter> </params> </methodCall>
but get back a fault response XML message with
<class 'SyntaxError'>:invalid syntax (<string>, line 1)
I have also tried encoding the " as %22, or omitting the quotes, same result.
Any ideas please?
Thanks,
Mungo
[University of Dundee shield logo]http://uod.ac.uk/sig-home
Mungo Carstairs Jalview Computational Scientist
The Barton Group Division of Computational Biology
School of Life Sciences
University of Dundee, Dundee, Scotland, UK
www.jalview.orghttp://www.jalview.org
www.compbio.dundee.ac.ukhttp://www.compbio.dundee.ac.uk g.m.carstairs@dundee.ac.ukmailto:g.m.carstairs@dundee.ac.uk
[University of Dundee Facebook]http://uod.ac.uk/sig-fb [University of Dundee Twitter] http://uod.ac.uk/sig-tw [University of Dundee LinkedIn] http://uod.ac.uk/sig-li [University of Dundee YouTube] http://uod.ac.uk/sig-yt [University of Dundee Instagram] http://uod.ac.uk/sig-ig [University of Dundee Snapchat] http://uod.ac.uk/sig-sc We're Scottish University of the Year again!http://uod.ac.uk/sig-strapline The Times / Sunday Times Good University Guide 2016 and 2017
The University of Dundee is a registered Scottish Charity, No: SC015096
participants (1)
-
Mungo Carstairs (Staff)