Skip to content

Commit

Permalink
FIX: NIRS channels are recommended, not required
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 10, 2023
1 parent 9df3941 commit 20b5214
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/schema/rules/checks/nirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ Component:
checks:
- columns.component != null

RequiredChannels:
RecommendedChannels:
issue:
code: NIRS_RECOMMENDED_CHANNELS
message: |
NIRS files SHOULD have an associated channels.tsv file.
level: warning
selectors:
- datatype == "nirs"
- suffix == "optodes"
- extension == ".tsv"
- suffix == "nirs"
- extension == ".snirf"
checks:
- associations.channels != null

Expand Down

0 comments on commit 20b5214

Please sign in to comment.