On Fri, Jun 18, 2010 at 5:05 PM, jp d <span dir="ltr">&lt;<a href="mailto:yoyoq@yahoo.com">yoyoq@yahoo.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">hi,<br>using supplied phenix examples  1rxf.mtz  and  1rxf_randomise.pdb <br>i can run the following command and it fails <br>
in phenix1.6.2  but not in phenix1.5-2<br><br>the error is:  <br>RuntimeError: Bond distance &gt; max_reasonable_bond_distance: 52.1931 &gt; 50</td></tr></tbody></table></blockquote><div><br></div><div>This is telling you that one of the bonds in the model is longer than the limit we&#39;ve set - a simple sanity check that warns you there is something seriously wrong with the PDB file.  This parameter appears to have been added since 1.5-2.  It&#39;s possible that it&#39;s really a bug in the restraints generation, but usually these types of errors indicate corrupted coordinates.  (For instance, in certain circumstances CNS sometimes outputs atoms at 999.99,999.99,999.99, which would probably trigger this error.)</div>
<div><br></div><div>You should still use 1.6.2.  You can, if you&#39;d like, add the parameter <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; ">max_reasonable_bond_distance=None to force it to accept absurd bond lengths, but this is probably just going to mask a problem with either your PDB file or our code.  We need to see the PDB file to tell for sure.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; ">-Nat</span></div>
</div>