Skip to content

Commit

Permalink
Clarify planar_contour
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jun 1, 2024
1 parent 0dc40d7 commit 243ae09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/ndx-extracellular-channels.extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ groups:
- 2
- - null
- 3
doc: The coordinates of the nodes of the polygon that describe the shape (contour) of the probe,
e.g., [(-20, -30), (20, -110), (60, -30), (60, 190), (-20, 190)].
doc: The coordinates of the nodes of the polygon that describe the shape (contour)
of the probe, e.g., [(-20, -30), (20, -110), (60, -30), (60, 190), (-20, 190)].
attributes:
- name: unit
dtype: text
Expand Down
3 changes: 2 additions & 1 deletion src/spec/create_extension_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ def main():
datasets=[
NWBDatasetSpec( # TODO should this be an attribute?
name="planar_contour", # TODO should this just be "contour"?
doc="The planar polygon that outlines the probe contour.",
doc=("The coordinates of the nodes of the polygon that describe the shape (contour) of the probe, "
"e.g., [(-20, -30), (20, -110), (60, -30), (60, 190), (-20, 190)]."),
dtype="float",
dims=[["num_points", "x"], ["num_points", "x, y"], ["num_points", "x, y, z"]],
shape=[[None, 1], [None, 2], [None, 3]],
Expand Down

0 comments on commit 243ae09

Please sign in to comment.