NeurodataWithoutBorders / matnwb

A Matlab interface for reading and writing NWB files
BSD 2-Clause "Simplified" License
49 stars 32 forks source link

Tutorial typo #393

Closed ehennestad closed 2 months ago

ehennestad commented 2 years ago

From the matlab tutorial for calcium imaging: https://neurodatawithoutborders.github.io/matnwb/tutorials/html/ophys.html

read_nwbfile.processing.get('behavior').nwbdatainterface.get('Position').spatialseries.get('SpatialSeries')

should be read_nwbfile.get('processing').etc

lawrence-mbf commented 2 years ago

@ehennestad That's odd, read_nwbfile should be a NwbFile object and processing is listed as a property for me. Can you post what read_nwbfile looks like for you?

ehennestad commented 2 years ago

It might be that the file I was trying to read was an old version. I updated my local matnwb repository, and now I can not open the file any longer.