Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Douglas Juers
That worked. Thanks very much. I will see whether it can be incorporated into our application. -Doug > On Dec 6, 2016, at 10:45 AM, Angel Herráez wrote: > > There's always some way with Jmol ;-) > Please try this: > > xx = load("3-pdb-files.zip"); > zap; > for

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Angel Herráez
There's always some way with Jmol ;-) Please try this: xx = load("3-pdb-files.zip"); zap; for (i=1;i<=xx.lines.length;i++) { load append "3-pdb-files.zip" manifest @{xx.lines[i]} } That may be easily put in a function that takes the file name as argument, if more convenient. --- El software

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Angel Herráez
Yes, a zipfile made of PDB files fails to load for me too in 14.6.4 It works with files in other formats. --- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Douglas Juers
molecs,zip file works for me as well, in 14.6.4_2016.11.05. (one zmatrix file and two xyz files). Thank you. However, this zip file (made of two pdb files) does not work in 14.6.4_2016.11.05: http://people.whitman.edu/~juersdh/twofiles.zip $

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Robert Hanson
no kidding? Wow, what a great program. On Tue, Dec 6, 2016 at 6:09 AM, Angel Herráez wrote: > Dear Bob, > > Well, Jmol does exactly that! When I load a manually created zipfile with > 3 files into Jmol 14.6.4_2016.10.02, it loads the 3 molecules in 3 frames. > >

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-06 Thread Angel Herráez
Dear Bob, Well, Jmol does exactly that! When I load a manually created zipfile with 3 files into Jmol 14.6.4_2016.10.02, it loads the 3 molecules in 3 frames. Additionally, the documentation suggests it will do so, since options are there to exclude some files or to ignore the manifest:

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-05 Thread Robert Hanson
I'm pretty sure Jmol never went through a ZIP file and looked for files to read. It would have to test each one, and I don't recall that being an option. The manifest is the way to go if you want that. Or, optionally, you can load the four files into Jmol, get them looking the way you want, and

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-05 Thread Angel Herráez
Hi Doug Have you tried to add a manifest to your zip file? According to https://chemapps.stolaf.edu/jmol/docs/#loadzip/jarfilesandjmolmanifest that allows to instruct Jmol to load several files within the zip On the other hand, a quick test I made a zip file with 3 files and without more

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-05 Thread Douglas Juers
Is it possible to read all of the models from the zip file into jmol as a different file number? (e.g. if there are 4 pdb files in a zip file - read them all in as 1.1, 2.1, 3.1 & 4.1). In v11 & 12, this is what happens when one issues “load .zip”. Doug > On Dec 5, 2016, at 10:10 AM,

Re: [Jmol-users] Loading zip files with multiple coordinate files

2016-12-05 Thread Robert Hanson
You are doing it the way you do it. Jmol has to be pointed to a specific file within a ZIP file, not just the file itself. You can access the directory of the ZIP file using: show file ".zip" or get that list into an array variable using: x = load(".zip").lines or load the actual file