<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Elaine,<div><br></div><div>I've done so. It kick an error message "<b>AttributeError: 'NoneType' object has no attribute 'atoms'"</b>. Please see below.</div><div><br></div><div>Many thanks for your help</div><div><br></div><div>George</div><div><br></div><div><br></div><div><div>#0, chain A: odorant binding protein</div><div>#0, chain B: odorant binding protein</div><div><type 'exceptions.AttributeError'> Exception in Tk callback</div><div> Function: <function command at 0x12e233f50> (type: <type 'function'>)</div><div> Args: ()</div><div>Traceback (innermost last):</div><div> File "/Applications/Chimera.app/Contents/Resources/lib/python2.7/site-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__</div><div> return apply(self.func, args)</div><div> File "/Applications/Chimera.app/Contents/Resources/share/chimera/baseDialog.py", line 438, in command</div><div> getattr(s, buttonFuncName(txt))()</div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/Intersurf.py", line 173, in Apply</div><div> bias, prune, pruneDistance)</div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/Intersurf.py", line 179, in doApply</div><div> m1_list = SurfMaker.GetAtomList(m1, m2, pruneDistance)</div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 69, in GetAtomList</div><div> rList = _pruneResidues(rList, prune, pruneDist)</div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 46, in _pruneResidues</div><div> rCentroids = _getCentroids(rList)</div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 33, in _getCentroids</div><div> for a in r.atoms:</div><div><type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'atoms'</div><div><br></div><div><b>AttributeError: 'NoneType' object has no attribute 'atoms'</b></div><div><br></div><div> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 33, in _getCentroids</div><div> for a in r.atoms:</div><div><br></div><div><div>On Jan 7, 2012, at 7:01 PM, Elaine Meng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi George, <br>Make sure you have the pruning option turned on (check the box for "Residue centroid distance pruning") or else the distance setting won't have any effect. That is probably the problem.<br>Best,<br>Elaine<br>-----<br>Elaine C. Meng, Ph.D. <br>UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>Department of Pharmaceutical Chemistry<br>University of California, San Francisco<br><br><br><br>On Jan 7, 2012, at 9:48 AM, George Tzotzos wrote:<br><br><blockquote type="cite">Hi everybody and happy New Year<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm using Intersurf to define the interface between two sub-units of a protein.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Intersurf selects the atoms which appear to be far from the interface. Changing the prune distance from the default value of 30 to, say 10 or less has no effect on the atom selection. Is this right? Is there a way to select atoms that lie, say 5 Angstrom on either side of the interface.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks and best regards<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">George<br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br></div></body></html>