<div dir="ltr">I just did a git blame and saw you committed the line with &quot;selfUTLIER&quot;. This answered one question. Bugs are a different matter.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, sans-serif">Cheers</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Nigel</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">---</font></div><div><font face="arial, sans-serif">Nigel W. Moriarty<br>Building 33R0349, Molecular Biophysics and Integrated Bioimaging</font></div><div><font face="arial, sans-serif">Lawrence Berkeley National Laboratory</font><br><font face="arial, sans-serif">Berkeley, CA 94720-8235</font><br><font face="arial, sans-serif">Phone : 510-486-5709     Email : NWMoriarty@LBL.gov<br>Fax   : 510-486-5909      Web  : <a href="http://CCI.LBL.gov" target="_blank">CCI.LBL.gov</a></font></div></div><div><font face="arial, sans-serif"><span style="color:rgb(73,74,76)">ORCID : </span><font color="#494a4c"><a href="https://orcid.org/0000-0001-8857-9464" target="_blank">orcid.org/0000-0001-8857-9464</a></font></font><br></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021 at 8:59 AM Winter, Graeme (DLSLtd,RAL,LSCI) &lt;<a href="mailto:Graeme.Winter@diamond.ac.uk">Graeme.Winter@diamond.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
OK, I checked the diffs and it really is just a load of fixing 
<div><br>
</div>
<div>function ( args ) :</div>
<div><br>
</div>
<div>type stuff</div>
<div><br>
</div>
<div>Are you sure I made the change here?</div>
<div><br>
</div>
<div>Thanks Graeme<br>
<div><br>
<blockquote type="cite">
<div>On 21 Apr 2021, at 16:53, Winter, Graeme (DLSLtd,RAL,LSCI) &lt;<a href="mailto:Graeme.Winter@diamond.ac.uk" target="_blank">Graeme.Winter@diamond.ac.uk</a>&gt; wrote:</div>
<br>
<div>
<div style="overflow-wrap: break-word;">
Hi Nigel,
<div><br>
</div>
<div>Search and replace was _probably_ to done as an abstract syntax tree replacement - but I would be surprised if “O” was replaced with “self” (surprised, but not impossible) </div>
<div><br>
</div>
<div>Do you have the commit I could check? Evidently if people did not notice for 2 years the code is not well tested… but equally I am surprised. </div>
<div><br>
</div>
<div>Oh, found it</div>
<div><br>
</div>
<div><a href="https://github.com/cctbx/cctbx_project/commit/c0ac70cab55b41b874bdb2ec1a97d516eb722e42" target="_blank">https://github.com/cctbx/cctbx_project/commit/c0ac70cab55b41b874bdb2ec1a97d516eb722e42</a></div>
<div><br>
</div>
<div>looking...</div>
<div><br>
</div>
<div>Thanks Graeme<br>
<div><br>
<blockquote type="cite">
<div>On 21 Apr 2021, at 16:48, Nigel Moriarty &lt;<a href="mailto:nwmoriarty@lbl.gov" target="_blank">nwmoriarty@lbl.gov</a>&gt; wrote:</div>
<br>
<div>
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr"><font face="arial, sans-serif"><br>
Hi,</font><br>
<div><br>
</div>
<div>Not sure if this message was posted earlier or not, that is why I am reposting it.</div>
<div><br>
</div>
<div><font face="arial, sans-serif">I had a couple of questions about sampling backrub and sidechains using the building or refinement modules in cctbx_project/mmtbx.</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif">1) In the file: <a href="http://mmtbx.building.alternate_conformations.conformer_generation.py/" target="_blank">mmtbx.building.alternate_conformations.conformer_generation.py</a></font></span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br>
</font></span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">In the function </span><span style="color:rgb(159,160,28);font-variant-ligatures:no-common-ligatures">def</span><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures"><font color="#2eaebb" style="font-weight:bold">__call__: </font><font>the
 if statements for checking whether the sampled side chain conformation is a rotamer outlier or not, the check in the if statement is for &quot;selfUTLIER&quot;.</font></span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><font>Also in the function </font></span><span style="color:rgb(46,174,187);font-variant-ligatures:no-common-ligatures"><b>set_up_backrub</b></span><span style="font-variant-ligatures:no-common-ligatures">(self):
 the atom &quot;O&quot; for the previous residue is not included in the backrun motion, as a result this atom is not moved when the backrub is implemented.</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">I was just wondering if this is a mistake (possibly all instances of &quot;O&quot;
 being replaced by &quot;self&quot; which would explain both these things, and some other instances throughout the file), or is this code old and not used anymore?</span></font></div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>This is exactly the case. It appears that Graeme Winter did a search and replace two years ago. I did a git blame and it shows that the original code was written by Nat Echols 5 years ago. The fact that the code is broken would indicate that the
 code is not used or tested well. Feel free to correct it and submit a pull request.</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">2) When trying to run fit_residues.py and tst_fit_residues* scripts in
 mmtbx.refinement.real_space, I encountered errors mainly related to chem_data/rotamer_chi_angles/ not being present. Looks like this data is not distributed with cctbx. Is this correct, or maybe there is some other known issue ?</span></font></div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>You may need the chem_data directory from a Phenix installation.</div>
<div><br>
</div>
<div>Nigel</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">I look forward to hearing from you.</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">Thanks,</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">Swati</span></font></div>
</div>
</div>
</div>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote>
</div>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">cctbxbb
 mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<a href="mailto:cctbxbb@phenix-online.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">cctbxbb@phenix-online.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a></div>
</blockquote>
</div>
<br>
</div>
<div> <br>
</div>
<p align="justify">-- </p>
<p align="justify">This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee
 please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
<br>
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
 </p>
</div>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<p align="justify"> </p>
<p align="justify">-- </p>
<p align="justify">This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. <br>Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br> </p></div>

_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>