A PyMOL novice question here.

I can write custom atom properties to its 'p' dictionary, and print them:
PyMOL>fetch 4zho

PyMOL>iterate 4zho//A/26/CA, p.metal_binding='Fe'

PyMOL>iterate 4zho//A/26/CA, print(p.metal_binding)

Fe

but how do I list the contents of the dictionary if I don't know what is in it?
PyMOL>iterate 4zho//A/26/CA, print(p)
<wrapper.PropertyWrapper object at 0x1140dcdb0>

Same question for 's':
PyMOL>iterate 4zho//A/26/CA, print(s)
<wrapper.SettingWrapper object at 0x1140dcdb0>

Better still, where would I find documentation for this?

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.carsta...@dundee.ac.uk<mailto:g.m.carsta...@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
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to