Skip to content

Commit 648781a

Browse files
committed
Add _acq- to ephys, add _channels and _coords
1 parent 2f393ca commit 648781a

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/schema/rules/files/raw/channels.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ channels:
1616
acquisition: optional
1717
run: optional
1818

19-
# ephys has one removed
20-
# TODO: see if to be added for consistency etc.
19+
# ephys has an additional 'sample' entity
2120
channels__ephys:
2221
$ref: rules.files.raw.channels.channels
2322
datatypes:
24-
- meg
23+
- ephys
2524
entities:
2625
$ref: rules.files.raw.channels.channels.entities
27-
acquisition:
26+
sample: optional
2827

2928
# MEG has an additional entity available
3029
channels__meg:
@@ -67,6 +66,17 @@ coordsystem__eeg:
6766
$ref: rules.files.raw.channels.coordsystem.entities
6867
space: optional
6968

69+
# ephys has sample AND space entities
70+
coordsystem__ephys:
71+
$ref: rules.files.raw.channels.coordsystem
72+
datatypes:
73+
- ephys
74+
- iephys
75+
entities:
76+
$ref: rules.files.raw.channels.coordsystem.entities
77+
sample: optional
78+
space: optional
79+
7080
electrodes:
7181
suffixes:
7282
- electrodes

src/schema/rules/files/raw/ephys.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ ephys:
1414
session: optional
1515
sample: optional
1616
task: optional
17+
acquisition: optional
1718
run: optional
1819
split: optional

0 commit comments

Comments
 (0)