accept these, since, as you say, we pride ourselves in its being able to
figure out the file type independent of any extension. This is a very common
file output type from the PDB database. It IS annoying, but it is very easy to do exactly what Bill did and "think" you are getting a pdb file. A very slight modification should do the trick.
Bob
Miguel wrote:
Bill wrote:
Miguel, Here is the hemoglobin file I first tried to use with Jmol. It functions OK in Chime and Rasmol.
Bill,
The top of the hemoglobin file which you sent me is below.
It turns out that this is a .html file, not a .pdb file. Now RasMol/Chime will accept it as a .pdb file because you (implicitly or explicitly) tell it that you are loading a file of type .pdb
RasMol/Chime then effectively ignores the lines that do not contain recognized record types in the first 6 columns.
Jmol, on the other hand, automatically figures out the file type. We think that it is a significant feature that one can load files without knowing the file type ... and without having to have the extension correct.
If it is the case that there are still database servers that are returning '.pdb' files that are formatted this way then they should be updated to return the files using the mime type Content-type:text/plain
Miguel
<!-- send-pdb -->
<!-- Jaime Prilusky Jul 1996 -->
<BODY BGCOLOR="#FFFFFF"><HTML><TITLE>PDB Full entry for 4HHB</TITLE>
<base href="http://www.pdb.bnl.gov">
<PRE>HEADER OXYGEN TRANSPORT 07-MAR-84 4HHB 4HHB 3
COMPND HEMOGLOBIN (DEOXY)
SOURCE HUMAN (HOMO SAPIENS)
AUTHOR G.FERMI,M.F.PERUTZ
[snip]
----- Open Source Molecular Visualization www.jmol.org [EMAIL PROTECTED] -----
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users
-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

