Re: [Jmol-users] Displaying ligand environments

2014-01-10 Thread Maciek Wójcikowski
Good to know Bob. I must check them out. Pozdrawiam, | Best regards, Maciek Wójcikowski mac...@wojcikowski.pl 2014/1/10 Robert Hanson > There are some new syntaxes that also make this particular task very easy. > > By the way, see the RCSB beta site, which has a new "Ligand in pocket" >

[Jmol-users] Problem with JSmol 14.0.4 and gzipped files

2014-01-10 Thread Christopher Masi
I’m having trouble getting jsmol to work with gzipped files. I’ve downloaded jmol 14.0.4, and I’m using the Jmol2.js library (is “library" the right descriptive name for that file?). I’m serving the files using apache, as configured by Apple’s Mavericks “Server” app, to myself and I’m accessing

Re: [Jmol-users] Problem with JSmol 14.0.4 and gzipped files

2014-01-10 Thread Angel Herráez
Hello, Chris A few things to check: 1- Have you pointed to the jmol.php file in your own server? That is specified in definition of the "Info" variable of J(S)mol, either in your own page or in the Jmol2.js file. As far as I know, loading of binary files relies of that php file and it must be

Re: [Jmol-users] Problem with JSmol 14.0.4 and gzipped files

2014-01-10 Thread Christopher Masi
Angel, Thanks. On Jan 10, 2014, at 10:28 AM, Angel Herráez wrote: > Hello, Chris > > A few things to check: > > 1- Have you pointed to the jmol.php file in your own server? No, I hadn’t. Now my header looks like this var Info = {

[Jmol-users] jsmol problems

2014-01-10 Thread Spinney, Richard
I have been working on some "new" jsmol stuff and have run into a few problems. 1) I get an alert when using HTML5: "JmolCore.js: synchronous binary file transfer is requested but not available." Click ok and it works fines so I am not sure why this alert is showing up. There are no error

Re: [Jmol-users] jsmol problems

2014-01-10 Thread Otis Rothenberger
Rick, I can help you with #1. The following makes it go away: Jmol._alertNoBinary = false; jmolApplet0 = Jmol.getApplet("jmolApplet0", Info); Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Jan 10, 2014, at 1:32 PM, Spinney, Richard wr

Re: [Jmol-users] Problem with JSmol 14.0.4 and gzipped files

2014-01-10 Thread Christopher Masi
In another e-mail thread, Otis Rothernberger suggested this script Jmol._alertNoBinary = false; jmolApplet0 = Jmol.getApplet("jmolApplet0", Info); to get rid of the error message mentioned below, and it worked. Thanks Otis, Chris On Jan

[Jmol-users] alertNoBinary

2014-01-10 Thread Spinney, Richard
I can help you with #1. The following makes it go away: Jmol._alertNoBinary = false; jmolApplet0 = Jmol.getApplet("jmolApplet0", Info); Otis Thanks Otis, Is there a way to set this globally in one of the js scripts, I hav

Re: [Jmol-users] alertNoBinary

2014-01-10 Thread Otis Rothenberger
Rick, In placing this false definition, I used the following from the JSMol docs as a guide: "A script to run when the Jmol object has finished loading. Note that indicating a script here is not necessary; with Jmol-JSO, unlike with Jmol.js, you can start making script calls to Jmol as soon as

Re: [Jmol-users] jsmol problems

2014-01-10 Thread Robert Hanson
Rick, be sure you are using yesterday's Jmol release -- One of the recent fixes had to do with synchronization. But I guess if it is working, there should be no problem. I have put up a file, http://chemapps.stolaf.edu/jmol/jsmol/sync4.htm, which you can use for testing. There's a link there "just

Re: [Jmol-users] alertNoBinary

2014-01-10 Thread Robert Hanson
Let's track this down. I've seen this on iPads, and it seems to me it should not be happening. On Fri, Jan 10, 2014 at 2:55 PM, Spinney, Richard < rspin...@chemistry.ohio-state.edu> wrote: > I can help you with #1. The following makes it go away: > > > > > > Jmo

Re: [Jmol-users] alertNoBinary

2014-01-10 Thread Pshemak Maslak
On 1/10/2014 7:13 PM, Robert Hanson wrote: Let's track this down. I've seen this on iPads, and it seems to me it should not be happening. I believe that happens only in Chrome on windows or in Safari on apple OS (which apparently use the same browser engine). PM On Fri, Jan 10, 2014 at

Re: [Jmol-users] alertNoBinary

2014-01-10 Thread Robert Hanson
The alert is coming from an intentionally trapped error in JSmolCore.js Jmol._canSyncBinary function. That function should only be called when data being transferred has been determined to be binary in nature. It is an alert to the developer that the server-side PHP piece is being invoked. I do se

Re: [Jmol-users] alertNoBinary

2014-01-10 Thread Robert Hanson
ah -- good tip. OK, the fix I just uploaded to JSmolCore.js did fix that Back later On Fri, Jan 10, 2014 at 6:17 PM, Pshemak Maslak wrote: > On 1/10/2014 7:13 PM, Robert Hanson wrote: > > Let's track this down. I've seen this on iPads, and it seems to me it > should not be happening. >