Hi Laura,
Not sure about this one (the 'error reading header_file' message is a bit general), perhaps the nifti function is having trouble properly interpreting the character ' (a single quote) in the filename (1001_rsfMRI_1_rsfMRI_1_1001'c.nii), as that is a bit unusual, have you tried renaming the files and removing those single quotes from the file name? (or displaying the contents of those files in SPM just to check that they look fine?)
Hope this helps
Alfonso
Originally posted by Laura Grasso:
Hi all!
I'm just learning CONN and I'm having some issues with the preprocessing stage. I'm able to upload niftis of functional and structural data, but ~5 seconds into preprocessing I receive an error saying it cannot read the functional files. I'm running the "preprocessing pipeline for surface-based analysis when FieldMaps are available" in an interleaved bottom-up slice order on v22.a of CONN. The error is as follows:
ERROR DESCRIPTION:
Error using read_hdr
Error reading header file "/home/lab/Desktop/Demo/demo/001/001_D1/s1001/1001_rsfMRI_1_rsfMRI_1_1001'c.nii".
Error in nifti (line 26)
vol = read_hdr(fname);
Error in conn_expandframe (line 23)
ni = nifti(filename);
Error in conn_setup_preproc (line 3334)
if numel(fmap)==1,fmap=cellstr(conn_expandframe(fmap{1})); end
Error in conn (line 1386)
ok=conn_setup_preproc('',varargin{2:end});
Error in conn_menumanager (line 124)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN22.a
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2023b
project: CONN22.a
storage: 1410.9Gb available
spm @ /home/lab/bin/spm12
conn @ /home/lab/bin/conn
Any insight would be much appreciated. Thank you!
Threaded View
Title | Author | Date |
---|---|---|
Laura Grasso | Jan 10, 2025 | |
Alfonso Nieto-Castanon | Jan 10, 2025 | |
Laura Grasso | Jan 10, 2025 | |