help > RE: error running smoothing
Jan 19, 2023  09:01 PM | Alfonso Nieto-Castanon - Boston University
RE: error running smoothing
Hi Alex

Yes, sorry that "file too small" error message is highly uninformative. There should be some functional file that is "corrupted" or otherwise illegible, so I would probably suggest browsing in the Setup.functionals tab displaying the functional images for different subjects to see which one fails (or if too many, using something like the following to find the problematic subject/session:

f=conn_module('get','functionals');
for nsub=1:numel(f)
  for nses=1:numel(f{nsub})
    try
       v = spm_vol(f{nsub}{nses});
       a = spm_read_vols(v);
       fprintf('.');
    catch
       fprintf('Problem reading subject %d session %d\n',nsub,nses);
    end
  end
end

Best
Alfonso

Originally posted by Alexandra Muratore:
Hi all,

I'm running into errors trying to smooth my data. Here's what the error says, which looks like a file is too small, but as you can see it doesn't give much detail about which specific file that is. Any ideas where I can look to investigate what's going on?

------------------------------------------------------------------------
06-Jan-2023 10:01:29 - Running job #1
------------------------------------------------------------------------
06-Jan-2023 10:01:29 - Running 'Smooth'
06-Jan-2023 18:30:18 - Failed 'Smooth'
Error using spm_conv_vol
File too small.
In file "/Documents/MATLAB/spm12/spm_smooth.m" (v4419), function "smooth1" at line 107.
In file "/Documents/MATLAB/spm12/spm_smooth.m" (v4419), function "spm_smooth" at line 37.
In file "/Documents/MATLAB/spm12/config/spm_run_smooth.m" (v3915), function "spm_run_smooth" at line 20.

The following modules did not run:
Failed: Smooth
ERROR DESCRIPTION:
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact
#job as displayed in this error message)
------------------
Running job #1
------------------
CONN21.a
SPM12 + DAiSS DEM FieldMap MEEGtools aal
Matlab v.2022a
project: CONN21.a
storage: 2002.4Gb available

Threaded View

TitleAuthorDate
Alex G Jan 11, 2023
RE: error running smoothing
Alfonso Nieto-Castanon Jan 19, 2023