From: Rich <rg...@el...> - 2005-01-08 13:23:16
|
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 |