diff --git a/src/bids_model/getDummyContrastsList.m b/src/bids_model/getDummyContrastsList.m index 460c38e6..aefe8813 100644 --- a/src/bids_model/getDummyContrastsList.m +++ b/src/bids_model/getDummyContrastsList.m @@ -31,7 +31,7 @@ end end - if isfield(node, 'DummyContrasts') && isfield(node.DummyContrasts, 'Contrasts1') + if isfield(node, 'DummyContrasts') && isfield(node.DummyContrasts, 'Contrasts') dummyContrastsList = node.DummyContrasts.Contrasts;