Skip to content

Commit

Permalink
Fix dims of spatial filter columns
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Oct 2, 2024
1 parent 457e044 commit 187bbf9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions spec/ndx-franklab-novela.extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,10 @@ groups:
neurodata_type_inc: VectorData
dtype: int
dims:
- n_epochs
- x y
shape:
- null
- 2
doc: If the spatial filter was used, the (x, y) coordinate of the bottom-left
corner pixel of the rectangular region of the video that was used for space-specific
Expand All @@ -273,8 +275,10 @@ groups:
neurodata_type_inc: VectorData
dtype: int
dims:
- n_epochs
- x y
shape:
- null
- 2
doc: If the spatial filter was used, the (x, y) coordinate of the top-right corner
pixel of the rectangular region of the video that was used for space-specific
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,10 @@ groups:
neurodata_type_inc: VectorData
dtype: int
dims:
- n_epochs
- x y
shape:
- null
- 2
doc: If the spatial filter was used, the (x, y) coordinate of the bottom-left
corner pixel of the rectangular region of the video that was used for space-specific
Expand All @@ -273,8 +275,10 @@ groups:
neurodata_type_inc: VectorData
dtype: int
dims:
- n_epochs
- x y
shape:
- null
- 2
doc: If the spatial filter was used, the (x, y) coordinate of the top-right corner
pixel of the rectangular region of the video that was used for space-specific
Expand Down
8 changes: 4 additions & 4 deletions src/spec/create_extension_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ def main():
"rectangular region of the video that was used for space-specific stimulation. "
"(0,0) is the bottom-left corner of the video. Use (-1, -1) if the spatial filter was not used."),
dtype="int",
shape=(2, ),
dims=("x y", ),
shape=(None, 2),
dims=("n_epochs", "x y"),
quantity="?",
),
NWBDatasetSpec(
Expand All @@ -447,8 +447,8 @@ def main():
"rectangular region of the video that was used for space-specific stimulation. "
"(0,0) is the bottom-left corner of the video. Use (-1, -1) if the spatial filter was not used."),
dtype="int",
shape=(2, ),
dims=("x y", ),
shape=(None, 2),
dims=("n_epochs", "x y"),
quantity="?",
),
NWBDatasetSpec(
Expand Down

0 comments on commit 187bbf9

Please sign in to comment.