Skip to content

Commit 91676cc

Browse files
authored
Merge pull request #618 from NeurodataWithoutBorders/fix_yaml_null2
Fix yaml null2
2 parents 690d23b + d5fe2fc commit 91676cc

File tree

11 files changed

+101
-95
lines changed

11 files changed

+101
-95
lines changed

src/pynwb/data/nwb.base.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ datasets:
3838
value: indexes into a list of values for a list of elements
3939
default_name: vector_index
4040
shape:
41-
-
41+
- null
4242
- neurodata_type_def: ElementIdentifiers
4343
neurodata_type_inc: NWBData
4444
dtype: int
@@ -50,7 +50,7 @@ datasets:
5050
value: unique identifiers for a list of elements
5151
default_name: element_id
5252
shape:
53-
-
53+
- null
5454
groups:
5555
- neurodata_type_def: NWBContainer
5656
doc: The attributes specified here are included in all interfaces.
@@ -98,7 +98,7 @@ groups:
9898
- num_times
9999
quantity: '?'
100100
shape:
101-
-
101+
- null
102102
- name: control_description
103103
dtype: text
104104
doc: 'Description of each control value. COMMENT: Array length should be as long
@@ -108,7 +108,7 @@ groups:
108108
- num_control_values
109109
quantity: '?'
110110
shape:
111-
-
111+
- null
112112
- name: data
113113
doc: 'Data values. Can also store binary data (eg, image frames) COMMENT: This
114114
field may be a link to data stored in an external file, especially in the case
@@ -137,7 +137,7 @@ groups:
137137
dims:
138138
- num_times
139139
shape:
140-
-
140+
- null
141141
- name: starting_time
142142
dtype: float64
143143
doc: 'The timestamp of the first sample. COMMENT: When timestamps are uniformly
@@ -170,7 +170,7 @@ groups:
170170
- num_times
171171
quantity: '?'
172172
shape:
173-
-
173+
- null
174174
groups:
175175
- name: sync
176176
doc: 'Lab specific time and sync information as provided directly from hardware
@@ -245,7 +245,7 @@ groups:
245245
doc: The names of the columns in this table. This should be used to specifying
246246
an order to the columns
247247
shape:
248-
-
248+
- null
249249
- name: description
250250
dtype: text
251251
doc: Description of what is in this dynamic table
@@ -255,7 +255,7 @@ groups:
255255
dtype: int
256256
doc: The unique identifier for the rows in this dynamic table
257257
shape:
258-
-
258+
- null
259259
- neurodata_type_inc: TableColumn
260260
doc: The columns in this dynamic table
261261
quantity: '*'

src/pynwb/data/nwb.behavior.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ groups:
2424
attributes:
2525
- name: unit
2626
dtype: text
27-
doc: 'The base unit of measure used to store data. This should be in the SI
28-
unit. COMMENT: This is the SI unit (when appropriate) of the stored data,
29-
such as Volts. If the actual data is stored in millivolts, the field ''conversion''
30-
below describes how to convert the data to the specified SI unit.'
27+
doc: "The base unit of measure used to store data. This should be in the SI\
28+
\ unit. COMMENT: This is the SI unit (when appropriate) of the stored data,\
29+
\ such as Volts. If the actual data is stored in millivolts, the field 'conversion'\
30+
\ below describes how to convert the data to the specified SI unit."
3131
default_value: meter
3232
required: false
3333
dims:
3434
- num_times
3535
- num_features
3636
shape:
37-
-
38-
-
37+
- null
38+
- null
3939
- name: reference_frame
4040
dtype: text
4141
doc: Description defining what exactly 'straight-ahead' means.

src/pynwb/data/nwb.ecephys.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ groups:
8484
- - num_times
8585
- num_channels
8686
shape:
87-
- -
88-
- -
89-
-
87+
- - null
88+
- - null
89+
- null
9090
- neurodata_type_inc: ElectrodeTableRegion
9191
name: electrodes
9292
doc: the electrodes that this series was generated from
@@ -124,11 +124,11 @@ groups:
124124
- num_channels
125125
- num_samples
126126
shape:
127-
- -
128-
-
129-
- -
130-
-
131-
-
127+
- - null
128+
- null
129+
- - null
130+
- null
131+
- null
132132
- neurodata_type_def: ClusterWaveforms
133133
neurodata_type_inc: NWBDataInterface
134134
doc: 'The mean waveform shape, including standard deviation, of the different clusters.
@@ -157,17 +157,17 @@ groups:
157157
- num_clusters
158158
- num_samples
159159
shape:
160-
-
161-
-
160+
- null
161+
- null
162162
- name: waveform_sd
163163
dtype: float32
164164
doc: Stdev of waveforms for each cluster, using the same indices as in mean
165165
dims:
166166
- num_clusters
167167
- num_samples
168168
shape:
169-
-
170-
-
169+
- null
170+
- null
171171
links:
172172
- name: clustering_interface
173173
doc: HDF5 link to Clustering interface that was the source of the clustered data
@@ -195,23 +195,23 @@ groups:
195195
dims:
196196
- num_events
197197
shape:
198-
-
198+
- null
199199
- name: peak_over_rms
200200
dtype: float32
201201
doc: Maximum ratio of waveform peak to RMS on any channel in the cluster (provides
202202
a basic clustering metric).
203203
dims:
204204
- num_clusters
205205
shape:
206-
-
206+
- null
207207
- name: times
208208
dtype: float64
209209
doc: Times of clustered events, in seconds. This may be a link to times field
210210
in associated FeatureExtraction module.
211211
dims:
212212
- num_events
213213
shape:
214-
-
214+
- null
215215
default_name: Clustering
216216
- neurodata_type_def: FeatureExtraction
217217
neurodata_type_inc: NWBDataInterface
@@ -229,7 +229,7 @@ groups:
229229
dims:
230230
- num_features
231231
shape:
232-
-
232+
- null
233233
- name: features
234234
dtype: float32
235235
doc: Multi-dimensional array of features extracted from each event.
@@ -238,16 +238,16 @@ groups:
238238
- num_channels
239239
- num_features
240240
shape:
241-
-
242-
-
243-
-
241+
- null
242+
- null
243+
- null
244244
- name: times
245245
dtype: float64
246246
doc: Times of events that features correspond to (can be a link).
247247
dims:
248248
- num_events
249249
shape:
250-
-
250+
- null
251251
- neurodata_type_inc: ElectrodeTableRegion
252252
name: electrodes
253253
doc: the electrodes that this series was generated from
@@ -274,7 +274,7 @@ groups:
274274
dims:
275275
- num_events
276276
shape:
277-
-
277+
- null
278278
- name: times
279279
dtype: float64
280280
doc: Timestamps of events, in Seconds
@@ -287,7 +287,7 @@ groups:
287287
dims:
288288
- num_events
289289
shape:
290-
-
290+
- null
291291
links:
292292
- name: source_electricalseries
293293
doc: HDF5 link to ElectricalSeries that this data was calculated from. Metadata

src/pynwb/data/nwb.file.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ groups:
2424
dims:
2525
- '*unlimited*'
2626
shape:
27-
-
27+
- null
2828
- name: identifier
2929
dtype: text
3030
doc: 'A unique text identifier for the file. COMMENT: Eg, concatenated lab name,
@@ -255,7 +255,7 @@ groups:
255255
dims:
256256
- num_namespaces
257257
shape:
258-
-
258+
- null
259259
quantity: '*'
260260
quantity: '?'
261261
- neurodata_type_def: Subject

src/pynwb/data/nwb.icephys.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ groups:
1818
dims:
1919
- num_times
2020
shape:
21-
-
21+
- null
2222
- name: gain
2323
dtype: float
2424
doc: 'Units: Volt/Amp (v-clamp) or Volt/Volt (c-clamp)'

src/pynwb/data/nwb.image.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ groups:
3131
- y
3232
- x
3333
shape:
34-
- -
35-
-
36-
- -
37-
-
38-
-
39-
- -
40-
-
41-
-
42-
-
34+
- - null
35+
- null
36+
- - null
37+
- null
38+
- null
39+
- - null
40+
- null
41+
- null
42+
- null
4343
- name: dimension
4444
dtype: int32
4545
doc: Number of pixels on x, y, (and z) axes.
4646
dims:
4747
- rank
4848
quantity: '?'
4949
shape:
50-
-
50+
- null
5151
- name: external_file
5252
dtype: text
5353
doc: 'Path or URL to one or more external file(s). Field only present if format=external.
@@ -64,12 +64,12 @@ groups:
6464
dims:
6565
- num_files
6666
shape:
67-
-
67+
- null
6868
dims:
6969
- num_files
7070
quantity: '?'
7171
shape:
72-
-
72+
- null
7373
- name: format
7474
dtype: text
7575
doc: Format of image. If this is 'external' then the field external_file contains
@@ -149,7 +149,7 @@ groups:
149149
dims:
150150
- num_times
151151
shape:
152-
-
152+
- null
153153
links:
154154
- name: indexed_timeseries
155155
doc: HDF5 link to TimeSeries containing images that are indexed.

src/pynwb/data/nwb.misc.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ groups:
3333
- num_times
3434
- num_features
3535
shape:
36-
-
37-
-
36+
- null
37+
- null
3838
- name: feature_units
3939
dtype: text
4040
doc: Units of each feature.
4141
dims:
4242
- num_features
4343
quantity: '?'
4444
shape:
45-
-
45+
- null
4646
- name: features
4747
dtype: text
4848
doc: Description of the features represented in TimeSeries::data.
4949
dims:
5050
- num_features
5151
shape:
52-
-
52+
- null
5353
- neurodata_type_def: AnnotationSeries
5454
neurodata_type_inc: TimeSeries
5555
doc: Stores, eg, user annotations made during an experiment. The TimeSeries::data[]
@@ -77,7 +77,7 @@ groups:
7777
dims:
7878
- num_times
7979
shape:
80-
-
80+
- null
8181
- neurodata_type_def: IntervalSeries
8282
neurodata_type_inc: TimeSeries
8383
doc: Stores intervals of data. The timestamps field stores the beginning and end
@@ -108,7 +108,7 @@ groups:
108108
dims:
109109
- num_times
110110
shape:
111-
-
111+
- null
112112
- neurodata_type_def: UnitTimes
113113
neurodata_type_inc: NWBDataInterface
114114
doc: Event times of observed units (e.g. cell, synapse, etc.). The UnitTimes group

src/pynwb/data/nwb.ogen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ groups:
2323
dims:
2424
- num_times
2525
shape:
26-
-
26+
- null
2727
links:
2828
- name: site
2929
doc: link to OptogeneticStimulusSite group that describes the site to which this

src/pynwb/data/nwb.ophys.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ datasets:
1313
- num_x
1414
- num_y
1515
shape:
16-
-
17-
-
18-
-
16+
- null
17+
- null
18+
- null
1919
- neurodata_type_def: PixelMasks
2020
neurodata_type_inc: VectorData
2121
dtype:
@@ -121,8 +121,8 @@ groups:
121121
- num_times
122122
- num_ROIs
123123
shape:
124-
-
125-
-
124+
- null
125+
- null
126126
- neurodata_type_inc: ROITableRegion
127127
name: rois
128128
doc: a dataset referencing into an ROITable containing information on the ROIs
@@ -263,8 +263,8 @@ groups:
263263
- weight
264264
- x|y|z
265265
shape:
266-
-
267-
-
266+
- null
267+
- null
268268
- 3
269269
- name: reference_frame
270270
dtype: text

0 commit comments

Comments
 (0)