On 1/6/05 20:18, Miguel wrote:
Safari works correctly when I use jmolApplet(480,"load /testmol.pdb"); but
if I read the pdb contents into a string (properly constructed, it works
in FireFox) and use:
jmolApplet(480);
jmolLoadInline("$pdb");
the I get a crash in Safari:
Rich,
I agree that this should work.
There is a known problem with jmolLoadInline that occurs if your file has
embedded single quote characters.
Please confirm that your pdb file does not contain single quote characters.
No quote characters of any kind. This file just has a list of HETATM
entries and I replace the \n with | when generating the $pdb string.
You may want to test out loadInline by using a simpler xyz format.
Haven't tested that yet (I thought the HETATM format was pretty simple <g>).
See the last example at http://www.jmol.org/demo
I'll take a look and see what I can see.
Rich
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users