diff --git a/validators/nii.js b/validators/nii.js index d3f08f2fd..f8aa82043 100644 --- a/validators/nii.js +++ b/validators/nii.js @@ -159,7 +159,7 @@ module.exports = function NIFTI (header, file, jsonContentsDict, bContentsDict, })); } - if (repetitionTime && mergedDictionary.RepetitionTime) { + if (mergedDictionary.RepetitionTime && header) { if (repetitionUnit !== 's') { issues.push(new Issue({ file: file,