Re: [PyMOL] [External] Unable to initialize plugin annocryst

2017-06-03 Thread Thomas Holder
Hi Jon, As far as I see, you're running Open-Souce PyMOL on some unix system. I suggest you install "idle" on the system, e.g. if this is Ubuntu, install https://packages.ubuntu.com/xenial/idle-python2.7 Cheers, Thomas > On Jun 2, 2017, at 7:30 PM, Luo, Jonathan Z. wrote: > > Hi Thomas, > T

Re: [PyMOL] Problem with 'byring' selection

2017-06-03 Thread Vijay Masand
Dear Tsjerk and Thomas Thanks for the information. This important information is not available on this page of PyMOLWiki: https://pymolwiki.org/index.php/Selection_Algebra I hope the page will be modified soon to include this important information. Cheers Vijay On 6/3/17, Tsjerk Wassenaar wrote:

Re: [PyMOL] Problem with 'byring' selection

2017-06-03 Thread Vijay Masand
Dear Tsjerk and Thomas For the following small molecule: ClC1[OH+]C(Cl)=CN=C1C(=O)N([NH+]1CCC(SC1)F)CCN As you advised to use following logic for selecting nitrogen atoms of rings exclusively. abc=cmd.select('elem N and byring not elem N') Likewise, to select Sulphur atoms which are part of rings o

Re: [PyMOL] Problem with 'byring' selection

2017-06-03 Thread Thomas Holder
Hi Vijay, All "by" operators have a weak priority. This means the following two expressions are equivalent: elem S & byring all w. 4 of elem O elem S & byring (all w. 4 of elem O) This is a bit unfortunate, I agree that it is not very intuitive. I would actually expect the highest priority. Bu