Re: [Jmol-users] msCIF problems

2015-06-14 Thread Robert Hanson
I checked with Vaclav, and he agrees that the file is invalid. Problem #2 is with loop_ _jana_atom_site_displace_Legendre_atom_site_label _jana_atom_site_displace_Legendre_axis _jana_atom_site_displace_Legendre_param_order _jana_atom_site_displace_Legendre_param_coeff that was a bug #3 cra

Re: [Jmol-users] Mol Ready Question

2015-06-14 Thread Robert Hanson
On Sat, Jun 13, 2015 at 8:59 AM, Otis Rothenberger wrote: > Bob, > > Am I correct on these 2 points: > > 1) jmol_isReady() is only called when Jmol originally loads AND the first > model is loaded. > > correct: if (script.length() > 0) scriptProcessor(script, null, SCRIPT_WAIT); vi

Re: [Jmol-users] Function call with hash parameter - case conversion

2015-06-14 Thread Robert Hanson
Looks like it is as simple as this: var firstPARAM = "p1_b"; var SECONDparam = "p2_b"; x = ["FIRSTParam": "p1_a", secondPARAM: "p2_a"] print x giving { "FIRSTParam" : "p1_a" "secondparam" : "p2_a" } ​ Note that putting the names in quotes takes care of it. Looking into it

Re: [Jmol-users] jmol.php

2015-06-14 Thread Robert Hanson
Just add your server to the list of known servers that implement access-control-allow-origin: * Jmol._DirectDatabaseCalls["http://chemagic.com";] = "%URL" On Sat, Jun 13, 2015 at 8:18 PM, Otis Rothenberger wrote: > Bob, > > I have a server script that I use for loading remote files. Is there