Skip to content

Commit f34e7ba

Browse files
committed
update function doc example
1 parent c80c5cb commit f34e7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trodes_to_nwb/convert_position.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def parse_dtype(fieldstr: str) -> np.dtype:
9494
--------
9595
>>> fieldstr = '<time uint32><x float32><y float32><z float32>'
9696
>>> parse_dtype(fieldstr)
97-
dtype([('time', '<u4'), ('x', '<f4'), ('y', '<f4'), ('z', '<f4')])
97+
dtype([('time', '<u4', (1,)), ('x', '<f4', (1,)), ('y', '<f4', (1,)), ('z', '<f4', (1,))])
9898
9999
"""
100100
# Returns np.dtype from field string

0 commit comments

Comments
 (0)