Open
Description
Low priority, but this would be a nice little usability improvement.
When I try
all_table_region = nwbfile.create_electrode_table_region(
range(electrode_counter), 'all electrodes')
I get
TypeError: incorrect type for 'region' (got 'range', expected 'slice, list, tuple or RegionReference')
I can fix this by wrapping range
in list
, but it would be nice if pynwb
handled this kind of thing.