Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Corrected small bugs.
  • Loading branch information
robdahn committed Jan 11, 2025
1 parent c30b976 commit 847a9e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cat_io_rerun.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
[pp,ff,ee] = spm_fileparts(files{fi}); files{fi} = fullfile(pp,[ff ee]); % remove additional dimensions ",1"
if ~exist(files{fi},'file')
if numel(files)>1
run{fi} = 1;
run(fi) = 1;
if verb
fprintf(' Input file 2-%02d does not exist: %70s\n',fi,spm_str_manip( files{fi}, 'a70'));
end
Expand All @@ -88,7 +88,7 @@
if exist(filedates{fi},'file')
fdata2 = dir(filedates{fi});
if numel(fdata)>1
run{fi} = [fdata(:).datenum] >= fdata2.datenum;
run(fi) = [fdata(:).datenum] >= fdata2.datenum;
else
run(fi) = fdata.datenum >= fdata2.datenum;
end
Expand Down
3 changes: 3 additions & 0 deletions cat_io_volctype.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
% out = cat_io_volctype(job)
%
% job
% .data .. images
% .verb .. be verbose (default=1)
% .lazy .. do not reprocess files (default=0);
% .prefix .. prefix with the keyword PARA that is replaced by the
Expand Down Expand Up @@ -262,6 +263,8 @@
otherwise
Yrd = round(Y / V.pinfo(1)) * V.pinfo(1);
end
else
Yrd = round(Y / V.pinfo(1)) * V.pinfo(1);
end


Expand Down

0 comments on commit 847a9e7

Please sign in to comment.