Pino,

I see the same thing. From the error message, it looks like you got the file via PubChem REST. The one that works on your site is also a PubChem sdf - maybe some  error in the original PubChem query?

Here's the correct REST link to the compound:

http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/6327/SDF

It downloaded the correct text SDF.

Otis

--
Otis Rothenberger
otis@chemagic.com
http://chemagic.com




On Oct 6, 2013, at 6:56 AM, Angel HerrŠez wrote:

Pino,

wp-content/clorurometile.sdf
is a binary file
I do not know the format, it does not seem to be gzipped.

In any case, JSmol needs to be informed of binary files with a special file extension, see
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object#Reading_binary_files

Have you tried to open the file in Jmol application?
  
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users