abhimanyusirohi / ThumbFish

A simple utility for Chemists that integrates with Windows Explorer and provides Thumbnail, Preview, Search and other useful features for structure files.
abhimanyusirohi.github.io/ThumbFish
MIT License
14 stars 3 forks source link

Invalid files are not handled properly #31

Closed abhimanyusirohi closed 10 years ago

abhimanyusirohi commented 10 years ago

Invalid files such as SDF needs to be handled properly both in case of thumbnail and preview generation. Currently when generating thumbnail for very large(88MB) invalid SDF (VS ThumbFish.sdf) the program throws an exception when reading it through indigoNext() and the stream size is shown as 20480 bytes (no idea why).