From a98ea74a2782333c65c4da426aae77085b5ee7d0 Mon Sep 17 00:00:00 2001 From: Ross Blair Date: Fri, 23 Sep 2022 19:07:47 -0500 Subject: [PATCH] [SCHEMA] Invert logic of bold onset hints (#1300) We only want to generate these messages when the check returns false. --- src/schema/rules/checks/hints.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema/rules/checks/hints.yaml b/src/schema/rules/checks/hints.yaml index 7f5bd3b85b..13959d4127 100644 --- a/src/schema/rules/checks/hints.yaml +++ b/src/schema/rules/checks/hints.yaml @@ -10,7 +10,7 @@ SuspiciouslyLongBOLDDesign: - suffix == "bold" - associations.events != null checks: - - max(associations.events.onset) > nifti_header.pixdim[4] * nifti_header.dim[4] + - max(associations.events.onset) < nifti_header.pixdim[4] * nifti_header.dim[4] SuspiciouslyShortBOLDDesign: issue: @@ -23,4 +23,4 @@ SuspiciouslyShortBOLDDesign: - suffix == "bold" - associations.events != null checks: - - max(associations.events.onset) < nifti_header.pixdim[4] * nifti_header.dim[4] / 2 + - max(associations.events.onset) > nifti_header.pixdim[4] * nifti_header.dim[4] / 2