<div>Hello,</div><div> </div><div>I am using python to go through all the files in a directory and minimize them using chimera. But the problem is I get and error when I try to minimize a file having Br. I have a lot of files in that directory. So is there any way by which I can skip the file that has error and go onto the next file? Any suggestion would br greatly appreciated.</div>
<div> </div><div>Thank you,</div><div>Divya</div><div><br><br> </div><div class="gmail_quote">On Sat, Jan 7, 2012 at 2:51 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hi George,<br>
I didn't have a problem when I tried Intersurf, so must be something specific.<br>
<br>
To report a problem, please use Help... Report a Bug in the Chimera menu and include any information (you can attach a session file or structure file and describe all steps you did) needed to reproduce the problem.<br>
<br>
The chimera-users email address is for meant discussion and questions, not bug reports.<br>
<br>
Thanks,<br>
<div class="im HOEnZb">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>
</div><div class="HOEnZb"><div class="h5">On Jan 7, 2012, at 10:15 AM, George Tzotzos wrote:<br>
<br>
> Hi Elaine,<br>
><br>
> I've done so. It kick an error message "AttributeError: 'NoneType' object has no attribute 'atoms'". Please see below.<br>
><br>
> Many thanks for your help<br>
><br>
> George<br>
><br>
><br>
> #0, chain A: odorant binding protein<br>
> #0, chain B: odorant binding protein<br>
> <type 'exceptions.AttributeError'> Exception in Tk callback<br>
> Function: <function command at 0x12e233f50> (type: <type 'function'>)<br>
> Args: ()<br>
> Traceback (innermost last):<br>
> File "/Applications/Chimera.app/Contents/Resources/lib/python2.7/site-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__<br>
> return apply(self.func, args)<br>
> File "/Applications/Chimera.app/Contents/Resources/share/chimera/baseDialog.py", line 438, in command<br>
> getattr(s, buttonFuncName(txt))()<br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/Intersurf.py", line 173, in Apply<br>
> bias, prune, pruneDistance)<br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/Intersurf.py", line 179, in doApply<br>
> m1_list = SurfMaker.GetAtomList(m1, m2, pruneDistance)<br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 69, in GetAtomList<br>
> rList = _pruneResidues(rList, prune, pruneDist)<br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 46, in _pruneResidues<br>
> rCentroids = _getCentroids(rList)<br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 33, in _getCentroids<br>
> for a in r.atoms:<br>
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'atoms'<br>
><br>
> AttributeError: 'NoneType' object has no attribute 'atoms'<br>
><br>
> File "/Applications/Chimera.app/Contents/Resources/share/Intersurf/SurfMaker.py", line 33, in _getCentroids<br>
> for a in r.atoms:<br>
><br>
> On Jan 7, 2012, at 7:01 PM, Elaine Meng wrote:<br>
><br>
>> 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>
>>> Hi everybody and happy New Year<br>
>>><br>
>>> I'm using Intersurf to define the interface between two sub-units of a protein.<br>
>>><br>
>>> 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>
>>><br>
>>> Thanks and best regards<br>
>>><br>
>>> George<br>
>>><br>
>><br>
><br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Chimera-users mailing list<br>
<a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>
<a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br>
</div></div></blockquote></div><br>