Skip to content

Commit 27cbf33

Browse files
committed
refactor
1 parent 2a12511 commit 27cbf33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/add_deformation_field.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
function sources = add_deformation_field(sources, bf, map, verbose, deformation_field_needed)
22
% (C) Copyright 2021 spm_2_bids developers
3-
3+
if ~startsWith(bf.prefix, map.norm)
4+
return
5+
end
6+
47
deformation_field = 'TODO: add deformation field';
58

69
% TODO? grab all the anat suffixes from BIDS schema?

0 commit comments

Comments
 (0)