help > RE: Error uploading functional files during setup
Jun 7, 2014  06:06 AM | Alfonso Nieto-Castanon - Boston University
RE: Error uploading functional files during setup
Hi Eran,

I had not encountered this error before but after looking a bit into this in the SPM list archives it seems that, despite the misleading error message, this might be an issue related to Large File Support in SPM when dealing with relatively large (>3Gb) 4d nifti files. If that fits your case I would try splitting the 4d file into multiple 3d nifti/analyze files using spm_file_split, and then uploading the resulting files into CONN. Let me know if that seems to fix this issue.

Best
Alfonso
Originally posted by Eran Dayan:
Hi All

I'm getting the following error, early on during setup, when trying to upload functional files (.nii, in my case). Anyone has any idea what's going on ?
Many thanks

e.

ERROR DESCRIPTION:
Error using spm_sample_vol
File too small.
Error in spm_get_data (line 44)
Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in conn>conn_spm_read_vols (line 3720)
x=spm_get_data(v,pinv(v(1).mat)*CONN_gui.refs.canonical.xyz);
Error in conn>conn_menu (line 3476)
if length(title)>1, title=cat(2,permute(conn_spm_read_vols(title(end)),[2,1,3]),permute(conn_spm_read_vols(title(1)),[2,1,3]));
Error in conn (line 629)
conn_menu('updateimage',CONN_h.menus.m_setup_00{5},CONN_x.Setup.functional{nsub}{nsess}{3});
Error in conn_filesearchtool (line 83)
if length(h.callback)>1, feval(h.callback{1},h.callback{2:end},names); else, feval(h.callback{1},names); end
CONN v.14.d
SPM8 + Beamforming DEM FieldMap MEEGtools marsbar ns vbm8
Matlab v.2012a
Warning: Contents.m overloaded by version in folder C:\Users\dayane\Documents\MATLAB

Threaded View

TitleAuthorDate
Eran Dayan Jun 6, 2014
RE: Error uploading functional files during setup
Alfonso Nieto-Castanon Jun 7, 2014
Brian Cechmanek Aug 6, 2014
Alfonso Nieto-Castanon Aug 13, 2014
Brian Cechmanek Aug 13, 2014
Eran Dayan Jun 9, 2014