Quoting Angel Herráez <angel.herr...@uah.es>: > Hi all > > I am doing a little experimentation with parsing of macromolecule > sequence in pdb files and, as part of it, I am reading the PDBheader > info using jmolGetPropertyAsString("fileHeader") > > What I have just found is that this works for local files but fails > with a Java security warning when I load a file from PDB (using the > signed applet, 11.6.21, and 'load =2ACE') > > It says > java.security.AccessControlException: access denied > (java.net.SocketPermission www.rcsb.org resolve) > > The same happens when I try the pop-up menu > Show > File header, > so it seems a true result of Java security measures. > However, since the file has been downloaded, shouldn't Jmol have > already the header info? It seems that it is doing a new request from > the server. > > Is this expected? > Is there a way around it?
A few weeks ago Bob gave me the following tip (off-list) regarding the "show pdbheader" command that might help you: One comment. You could be more efficient with the show pdbheader. That call actually reads the file again from the drive. Two ways to do this: 1) use set pdbGetHeader true this loads the header into the "auxiliaryInfo" during file loading. This way the file is only read once, and calls to "show pdbheader" return quickly, just returning that info. Does require a bit more memory, of course.... Regards, Rolf ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users