diff --git a/bids/spmup_BIDS_unpack.m b/bids/spmup_BIDS_unpack.m index 9f324b8..8d9c94b 100644 --- a/bids/spmup_BIDS_unpack.m +++ b/bids/spmup_BIDS_unpack.m @@ -568,10 +568,10 @@ fprintf(' subject %g - session %i: checking field maps \n',s, session) if isempty(sess_folder) target_dir = fullfile(options.outdir, ['sub-' subjs_ls{s}], ... - 'fmap'); + 'fieldmaps'); else target_dir = fullfile(options.outdir, ['sub-' subjs_ls{s}], ... - sess_folder, 'fmap'); + sess_folder, 'fieldmaps'); end % check which types of fieldmaps we are dealing with