BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
29 stars 25 forks source link

Specify units for dimensions when generating nifti files #102

Closed gdevenyi closed 4 years ago

gdevenyi commented 4 years ago

Fixes #100

gdevenyi commented 4 years ago

While this fixes the bug, this is not a complete fix, as currently mnc2nii dumps vectors into dim4 of the nifti, while they should go into dim5 and dim4 should get size 1.

gdevenyi commented 4 years ago

Vector files need some more special casing to get them right according to the spec.

gdevenyi commented 4 years ago

Right now, vector files will get a seconds time unit, but I don't think that will cause any issues.