-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathchannels.yaml
More file actions
48 lines (46 loc) · 1.55 KB
/
channels.yaml
File metadata and controls
48 lines (46 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
ElectrodeSpecificity:
issue:
code: EXCESSIVE_ELECTRODE_SPECIFICITY
message: |
Task, acquisition or run entities detected in electrodes.tsv.
Electrode definitions should generally not vary within a session.
Consider removing the excess entity/entities or create a new
session each time electrodes are reconfigured.
level: warning
selectors:
- suffix == 'electrodes'
- extension == '.tsv'
checks:
- '!("task" in entities)'
- '!("acquisition" in entities)'
- '!("run" in entities)'
CoordsystemSpecificity:
issue:
code: EXCESSIVE_COORDSYSTEM_SPECIFICITY
message: |
Task, acquisition or run entities detected in coordsystem.tsv.
Coordinate systems should generally not vary within a session.
Consider removing the excess entity/entities or create new
sessions when multiple coordinate systems are appropriate.
level: warning
selectors:
- suffix == 'coordsystem'
- extension == '.json'
checks:
- '!("task" in entities)'
- '!("acquisition" in entities)'
- '!("run" in entities)'
RequiredCoordsystem:
issue:
code: REQUIRED_COORDSYSTEM
message: |
If an electrodes.tsv file is provided, an associated coordsystem.json must also be present.
level: error
selectors:
- suffix == "electrodes"
- extension == ".tsv"
- '!intersects([datatype], ["ecephys", "icephys"])'
- datatype != "emg" # coordsys file may have space entity that electrodes.tsv lacks
checks:
- associations.coordsystem != null || associations.coordsystems != null