Skip to content

Commit

Permalink
fix(schema): Associated file checks only apply to data files
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 30, 2024
1 parent 881739b commit b52a1dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schema/rules/checks/fmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ FmapFieldmapWithoutMagnitude:
level: error
selectors:
- suffix == "fieldmap"
- match(extension, '\.nii(\.gz)?$')
checks:
- '"magnitude" in associations'

Expand All @@ -34,6 +35,7 @@ FmapPhasediffWithoutMagnitude:
level: warning
selectors:
- suffix == "phasediff"
- match(extension, '\.nii(\.gz)?$')
checks:
- '"magnitude1" in associations'

Expand Down

0 comments on commit b52a1dd

Please sign in to comment.