Skip to content

Commit 08f704a

Browse files
committed
explain shape in comment
1 parent 09fef98 commit 08f704a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trodes_to_nwb/convert_optogenetics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def add_optogenetic_epochs(
331331
rows.extend(new_rows)
332332

333333
# ensure spatial geometry nodes have same shape in each row
334-
max_shape = [0, 0, 0]
334+
max_shape = [0, 0, 0] # n_regions, n_nodes, 2 (x,y)
335335
for row in rows:
336336
nodes = row.get("spatial_filter_region_node_coordinates_in_pixels", None)
337337
if nodes is not None:

0 commit comments

Comments
 (0)