I have some .mol files which were not being recognized by jmol. Unable to determine type for file ...
After downloading & building the source, I determined that the issue is that the ReaderFactory doesn't like the header on these files. There is a 'typeHint' mechanism built into Jmol.openFile ... but it isn't being used in this case. Therefore, I tweaked the code to incorporate file extension into the typeHint mechanism and everything seems to work OK. Q: Was there an explicit reason for excluding filename extension as a 'strong hint' about the file type? Thanks, Michael ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers