<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
OK, I checked the diffs and it really is just a load of fixing&nbsp;
<div class=""><br class="">
</div>
<div class="">function ( args ) :</div>
<div class=""><br class="">
</div>
<div class="">type stuff</div>
<div class=""><br class="">
</div>
<div class="">Are you sure I made the change here?</div>
<div class=""><br class="">
</div>
<div class="">Thanks Graeme<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 21 Apr 2021, at 16:53, Winter, Graeme (DLSLtd,RAL,LSCI) &lt;<a href="mailto:Graeme.Winter@diamond.ac.uk" class="">Graeme.Winter@diamond.ac.uk</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Nigel,
<div class=""><br class="">
</div>
<div class="">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)&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">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.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">Oh, found it</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/cctbx/cctbx_project/commit/c0ac70cab55b41b874bdb2ec1a97d516eb722e42" class="">https://github.com/cctbx/cctbx_project/commit/c0ac70cab55b41b874bdb2ec1a97d516eb722e42</a></div>
<div class=""><br class="">
</div>
<div class="">looking...</div>
<div class=""><br class="">
</div>
<div class="">Thanks Graeme<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 21 Apr 2021, at 16:48, Nigel Moriarty &lt;<a href="mailto:nwmoriarty@lbl.gov" class="">nwmoriarty@lbl.gov</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" class="">
<div dir="ltr" class=""><font face="arial, sans-serif" class=""><br class="Apple-interchange-newline">
Hi,</font><br class="">
<div style="" class=""><br class="">
</div>
<div style="" class="">Not sure if this message was posted earlier or not, that is why I am reposting it.</div>
<div style="" class=""><br class="">
</div>
<div style="" class=""><font face="arial, sans-serif" class="">I had a couple of questions about sampling backrub and sidechains&nbsp;using the building or refinement modules in cctbx_project/mmtbx.</font></div>
<div style="" class=""><font face="arial, sans-serif" class=""><br class="">
</font></div>
<div style="" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="arial, sans-serif" class="">1) In the file:&nbsp;<a href="http://mmtbx.building.alternate_conformations.conformer_generation.py/" target="_blank" class="">mmtbx.building.alternate_conformations.conformer_generation.py</a></font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="arial, sans-serif" class=""><br class="">
</font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">In the function&nbsp;</span><span style="color: rgb(159, 160, 28); font-variant-ligatures: no-common-ligatures;" class="">def</span><span style="font-variant-ligatures: no-common-ligatures;" class="">&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures;" class=""><font color="#2eaebb" style="font-weight: bold;" class="">__call__:&nbsp;</font><font class="">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;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font class="">Also in the function&nbsp;</font></span><span style="color: rgb(46, 174, 187); font-variant-ligatures: no-common-ligatures;" class=""><b class="">set_up_backrub</b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">(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;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">I was just wondering if this is a mistake&nbsp;(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 class=""><br class="">
</div>
<div class="">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&nbsp;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 class=""><br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div style="" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">2) When trying to run fit_residues.py and tst_fit_residues* scripts in
 mmtbx.refinement.real_space, I encountered errors mainly related&nbsp;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 class=""><br class="">
</div>
<div class="">You may need the chem_data directory from a Phenix installation.</div>
<div class=""><br class="">
</div>
<div class="">Nigel</div>
<div class=""><br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div style="" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">I look forward to hearing from you.</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Thanks,</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="arial, sans-serif" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Swati</span></font></div>
</div>
</div>
</div>
_______________________________________________<br class="">
cctbxbb mailing list<br class="">
<a href="mailto:cctbxbb@phenix-online.org" target="_blank" class="">cctbxbb@phenix-online.org</a><br class="">
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank" class="">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br class="">
</blockquote>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">cctbxbb
 mailing list</span><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">cctbxbb@phenix-online.org</a><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://phenix-online.org/mailman/listinfo/cctbxbb</a></div>
</blockquote>
</div>
<br class="">
</div>
<div class="">&nbsp;<br class="webkit-block-placeholder">
</div>
<p align="justify" class="">--&nbsp;</p>
<p align="justify" class="">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 class="">
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
<br class="">
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 class="">
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 class="">
&nbsp;</p>
</div>
_______________________________________________<br class="">
cctbxbb mailing list<br class="">
<a href="mailto:cctbxbb@phenix-online.org" class="">cctbxbb@phenix-online.org</a><br class="">
http://phenix-online.org/mailman/listinfo/cctbxbb<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<p align="justify">&nbsp;</p>
<p align="justify">--&nbsp;</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 />&nbsp;</p></body>
</html>