aces / brainbrowser

Web-based visualization tools for neurological data.
https://brainbrowser.cbrain.mcgill.ca/
GNU Affero General Public License v3.0
351 stars 122 forks source link

Fix #332, correctly handle HDF5 files with impossible values for data offset in the layout message. #335

Closed rdvincent closed 7 years ago

rdvincent commented 7 years ago

HDF5 often uses indirection through pointers to refer to data areas in files. Many files have empty data areas, and this is often indicated by setting the associated pointer to an impossible value. This was one place where I was not checking for that possibility, and so certain files would not load properly.