Re: [Jmol-users] loading some small moecule pdb file does not display all atoms

2014-01-27 Thread Robert Hanson
I'm sorry, I don't think there is any hope of reading this file. The key atoms of various groups are totally intertwined. Such a file was unreadable as far back as 2010 (Jmol 11.8). If you sort the file on column 17: sort /+17 dlpe.pdb > t.pdb then Jmol will load it. Bob On Mon, Jan 27, 2014

Re: [Jmol-users] JSmol and jquery.simplemodal.1.4.4.min.js

2014-01-27 Thread Robert Hanson
Jmol.getAppletHtml("jmolApplet0", Info) is fine. It is defined as: // optional Info here Jmol.getAppletHtml = function(applet, Info) { if (Info) { var d = Jmol._document; Jmol._document = null; applet = Jmol.getApplet(applet, Info); Jmol._document = d; } re

Re: [Jmol-users] window.location="some URL" breaks Jmol viewer

2014-01-27 Thread Robert Hanson
I think when you set window.location you are effectively overwriting the page. The write command works by sending the data to a server and having it be reflected back to the user. On Sun, Jan 26, 2014 at 5:20 PM, Roberto Mosca wrote: > The download button that I press downloads a different fi

Re: [Jmol-users] Model Kit add atom kills ALL sidechain atomNames

2014-01-27 Thread Robert Hanson
Another good catch. I will release a version of 14.1.8 fixing this later today. On Fri, Jan 24, 2014 at 10:34 PM, Ron Mignery wrote: > It is not the name of the added atom that is reduced. ALL side chain atoms > in all chains are reduced. For example, load 1PQA in the application, add > a singl

[Jmol-users] loading some small moecule pdb file does not display all atoms

2014-01-27 Thread Angel Herráez
application, 14.1.6_dev_2014.01.16c Loading the attached model (a phospholipid that loaded correctly in former versions), the phosphorus is not displayed until I execute some spacefill + wireframe command The following section of this message contains a file attachment prepared for transmissi

Re: [Jmol-users] JSmol and jquery.simplemodal.1.4.4.min.js

2014-01-27 Thread Angel Herráez
Hi, Carlo (?) I cannot help much with jQuery, but you should not be using that syntax jmolButton('spin on','spin it!'); but instead Jmol.jmolButton(jmolApplet0, 'spin on','spin it!'); (The first one may work if you are using Jmol2.js, but since you have these errors I think it's better to go f

Re: [Jmol-users] JSmol and jquery.simplemodal.1.4.4.min.js

2014-01-27 Thread carlon
Hi! Thank you very much for your attention and help ! Actually no error is generated if I'm using jQuery in this way: $("#visualize_tensor_display").append(Jmol.getAppletHtml("jmolApplet0",Info)); The problem occurs when I try to do this: $("#visualize_tensor_commands").append("jmolButton('spi