exactly - and with Firefox, you should have no problem reading local binary
files -- provided you have .gz in the name -- this can be a directory, by
the way:

load myzipfiles.gz/1crn.pdb

So an alternative would be to put those gzipped files in a special
directory and not change their name.


On Thu, Mar 27, 2014 at 4:11 PM, Angel Herráez <[email protected]> wrote:

> Eric,
> also, in local file mode the php will not work, so it is likely that you
> will never
> have the gzipped files loading.
> For testing you may install a local webserver -- I am using EasyPHP
>
> Your url
> http://bioinformatics.org/firstglance/fgij/fg.htm?mol=2vaa_consurf114987232
> 2_pipe.pdb&NOJAVA
> is not working for me in Firefox/Win
>
> That's because JSmol has no way of knowing the file is gzipped.
> Maybe you could tell JSMol to load all pdb files as binary (see * below).
> Have you got non-gzipped pdb files? I don't know what it would do with
> them.
> There is also browser idiosyncracies.
>
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object#Reading_binary_files
>
> (*)
> function extendBinaryTypes() {
>         Jmol._binaryTypes =
>
> [".gz",".jpg",".png",".zip",".jmol",".bin",".smol",".spartan",".mrc",".pse",".pdb"];
> //override-extend default
> }
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to