pynapple-org / pynapple

PYthon Neural Analysis Package :pineapple:
https://pynapple-org.github.io/pynapple/
MIT License
243 stars 59 forks source link

Currently append_NWB_LFP function will not work with TsdFrames; this fixes. #298

Closed kippfreud closed 1 month ago

kippfreud commented 1 month ago

Should fix #297

Currently append_NWB_LFP function will not work with TsdFrames; this fixes by casting ndarray to a list - otherwise, the ndarray will reach nwbfile.create_electrode_table_region which will error (as it requires slice or list or tuple).