NeuroVault
NeuroVault copied to clipboard
Allow to upload 4D stat maps if last dimension is singleton
I was trying to upload some maps that for some reason were saved as 4D (why this is so is another issue, but bear with me) with the last dimension being a singleton (e.g., dimension was [91, 109, 91, 1]), but I couldn't upload them with the following error
An error occurred with this upload: ValueError: The shape specified should be the shape of the 3D grid, and thus of length 3. (91, 109, 91, 1) was specified
I think such a map could be "squeezed" automatically by neurovault without it being too risky.
I thought we are already doing this! Did you use single map upload form or folder upload? Could you share the particular nifti file you used?
I was trying to upload a tar.gz; if I upload the maps individually, then it works perfectly.
I can't share the map publicly (yet ;) ), but if I can send it to you privately if you need it.
thanks!
EDIT: also, the map is .nii, not .nii.gz
ok - hit me on [email protected]
On Tue, Apr 19, 2016 at 8:08 AM, Matteo Visconti di Oleggio Castello < [email protected]> wrote:
I was trying to upload a tar.gz; if I upload the maps individually, then it works perfectly.
I can't share the map publicly (yet ;) ), but if I can send it to you privately if you need it.
thanks!
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/NeuroVault/NeuroVault/issues/486#issuecomment-211970940