From a5b4237449d4f675d1bf5b1f416610f5e4f4f456 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:40:01 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- +bids/+internal/parse_filename.m | 1 - +bids/File.m | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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