diff --git a/+bids/+internal/parse_filename.m b/+bids/+internal/parse_filename.m index b49eaea5..aa223fb6 100644 --- a/+bids/+internal/parse_filename.m +++ b/+bids/+internal/parse_filename.m @@ -195,4 +195,3 @@ end end - diff --git a/+bids/File.m b/+bids/File.m index 71a656a4..bd36389c 100644 --- a/+bids/File.m +++ b/+bids/File.m @@ -941,7 +941,7 @@ function validate_prefix(obj, prefix) comp_path = ['sub-' entities.sub]; end if ~isempty(comp_path) && strcmp(ent_path, comp_path) - modality = cand; + modality = cand; end end