Henry, I just checked in the code to auto-detect/uncompress files which have been compressed with gzip.
File extension is unimportant. Gzip is designed to compress a single file. Therefore, it is pretty straightforward. An associate from the University of Salamanca told me that he thought Chime only supports .gz files. hemoglobin.pdb 442.017 bytes hemoglobin.pdb.gz 106.371 bytes It is less clear to me whether/how we should support something like .zip (.jar) files. This file format is for a set of files (a directory tree) rather than for a single file. Therefore, to support it we need to either: 1. always take the first file inside the .zip file or 2. provide some mechanism for the user to specify which file inside the .zip archive they want to select. I didn't feel like working on this right now, so I did *not* add any support for .zip compression. Developers: I checked this into both the B6 branch and HEAD. Miguel > Henry, > > Good idea! > > Should be easy for us to put this in. And will help a lot with larger > .pdb files. > > Miguel > >> In the olden days of modem bandwidths, it became common to gzip >> molecule coordinate files (compression ratios of 10:1 made this very >> worth while, particularly for medium sized molecules). Software such >> as Chime would auto-detect this (even though the file name extension >> retained the uncompressed value, ie .mol, .pdb etc). >> >> Can I put in a request for such autodetection and decompression to be >> added to JMol and the Applet/ >> -- >> >> Henry Rzepa. >> +44 (0870) 132 3747 (eFax) >> http://www.ch.ic.ac.uk/rzepa/ Dept. Chemistry, Imperial College >> London, >> SW7 2AZ, UK. >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> Data Reports, E-commerce, Portals, and Forums are available now. >> Download today and enter to win an XBOX or Visual Studio .NET. >> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >> _______________________________________________ >> Jmol-users mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jmol-users > > > -------------------------------------------------- > Miguel Howard [EMAIL PROTECTED] > c/Peņa Primera 11-13 esc dcha 6B > 37002 Salamanca > Espaņa Spain > -------------------------------------------------- > telefono casa 923 27 10 82 movil 650 52 54 58 > -------------------------------------------------- > To call from the US dial 9:00 am Pacific US = > home 011 34 923 27 10 82 12:00 noon Eastern US = > cell 011 34 650 52 54 58 6:00 pm Spain > -------------------------------------------------- > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Jmol-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jmol-users -------------------------------------------------- Miguel Howard [EMAIL PROTECTED] c/Peņa Primera 11-13 esc dcha 6B 37002 Salamanca Espaņa Spain -------------------------------------------------- telefono casa 923 27 10 82 movil 650 52 54 58 -------------------------------------------------- To call from the US dial 9:00 am Pacific US = home 011 34 923 27 10 82 12:00 noon Eastern US = cell 011 34 650 52 54 58 6:00 pm Spain -------------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users