Skip to content

Commit 0afade2

Browse files
committed
fix missing arguments
1 parent 0de33e5 commit 0afade2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spm_2_bids.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
strcmp({mapping.ext}', '*')], 2);
9494
end
9595

96-
entitiy_match = get_entity_match(mapping);
96+
entitiy_match = get_entity_match(mapping, bf);
9797

9898
this_mapping = [prefix_match, suffix_match, entitiy_match, ext_match];
9999

@@ -146,7 +146,7 @@
146146

147147
end
148148

149-
function entitiy_match = get_entity_match(mapping)
149+
function entitiy_match = get_entity_match(mapping, bf)
150150
% we compare the entities-label pairs present in the file
151151
% to those required in the mapping (if any)
152152
% if no entity requirement anywhere in the mapping then anything goes

0 commit comments

Comments
 (0)