<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><span class="Apple-tab-span" style="white-space:pre"> </span>Are you actually getting these messages with PDB files from the RCSB? Normally, you get these messages when using files with a lot of non-standard PDB records in them -- i.e. from PDB files generated by programs or scripts. If you are getting them from a standard PDB entry please let me know which ID it is.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>That said, you are probably also getting these messages when opening the file with Fetch, but the messages are going to the reply log so you aren't noticing them unless you have the reply log open, whereas if you are running a script from IDLE or the from a Unix command line, they are going to IDLE or standard error respectively, so you are seeing them all immediately.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>You options are:</div><div><br></div><div>(1) Fix the PDB file to remove the non-standard records, or</div><div>(2) Use the '--silent' flag if you are running the script from the command line, to suppress the messages, or</div><div>(3) Set chimera.silent to True before running the script in IDLE to achieve the same result as (2)</div><div><br></div><div>--Eric</div><div><div><br> Eric Pettersen<br> UCSF Computer Graphics Lab<br> <a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a><br><br></div><div><div>On Jun 5, 2014, at 5:33 AM, Xiao-Bo Li <<a href="mailto:x22li@uwaterloo.ca">x22li@uwaterloo.ca</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container">Also, I am using Chimera v1.9.
This is a new version I downloaded just a couple of days ago.
Hadn't had a problem before using older versions.<br>
<br>
XBL<br>
<br>
-------- 原始消息 --------
<table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">主题: </th>
<td>warning: Ignored bad PDB record found on line</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">日期: </th>
<td>Thu, 05 Jun 2014 08:30:49 -0400</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">发件人: </th>
<td>Xiao-Bo Li <a class="moz-txt-link-rfc2396E" href="mailto:x22li@uwaterloo.ca"><x22li@uwaterloo.ca></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">收件人: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:chimera-users@cgl.ucsf.edu">chimera-users@cgl.ucsf.edu</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hello,
This morning I kept getting this error
"warning: Ignored bad PDB record found on line nnn"
whenever I use the python script to try to open a pdb file. The python
script I'm using is the usual "chimera.openModels.open(pdbID,
type='PDB')[0]". This function call is how I've always been using
Chimera, and this morning is the first time I'm getting this issue.
I dont see a problem with my internet connection, and I can open the PDB
file using File->Fetch by ID, so it doesn't seem like the pdb file has
any problems. Only the python script gives me problems. Is anyone else
experiencing this problem?
Best,
XBL
</pre>
<br>
</div>
<br>
</div>
_______________________________________________<br>Chimera-users mailing list<br><a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br></blockquote></div><br></div><br><br></body></html>