vistalab/vistasoft — pull request #28 by aspanu (2013-04-12 16:44:06+00:00)
Title: Fixing a bug found for niftis without proper freqdim and phasedim fields.

Discovered by Yonghua Cai at East China Normal University when he created NIFTIs with a different method that did not contain freqdim, phasedim and slicedim. It appears that these fields may not always exist in standard NIFTI structures.