Hi guys : The following code snippet is attempting to display a pdb file in
jmol, by getting it from the http location .

However, it bugs out on me, complaining that  the file is not found at
'localhost:8888/http://www.rcsb.org/pdb/files/1I78.pdb1.gz'

jmolInitialize("jmol/",true);
jmolSetCallback("loadStructCallback","myStructCallback");
jmolSetCallback("messageCallback",   "myMessageCallback");
jmolSetCallback("pickCallback",      "myPickCallback");
jmolApplet(["100%","100%"], "load 'http://www.rcsb.org/pdb/files/1I78.pdb1.gz');

This is strange, it seems as though jmol doesnt realize im trying to load
via http ?  It thinks the path is local to the pdb file.

Any ideas ?

-- 
Jay Vyas
MMSB/UCHC
------------------------------------------------------------------------------

_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to