diff --git a/src/schema/rules/sidecars/derivatives/common_derivatives.yaml b/src/schema/rules/sidecars/derivatives/common_derivatives.yaml index b4e44bd638..5982b2e01d 100644 --- a/src/schema/rules/sidecars/derivatives/common_derivatives.yaml +++ b/src/schema/rules/sidecars/derivatives/common_derivatives.yaml @@ -71,6 +71,7 @@ ImageDerivatives: - dataset.dataset_description.DatasetType == "derivative" - 'intersects([modality], ["mri", "pet"])' - 'match(extension, "^\.nii(\.gz)?$")' + - '!intersects([suffix], ["dseg", "probseg", "mask"])' fields: SkullStripped: required