[chimerax-users] Stuck on one XML-RPC command

Mungo Carstairs (Staff) g.m.carstairs at dundee.ac.uk
Thu May 14 12:27:31 PDT 2020


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.org<http://www.jalview.org>

www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk>
g.m.carstairs at dundee.ac.uk<mailto:g.m.carstairs at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200514/627b6b4e/attachment.html>


More information about the ChimeraX-users mailing list