AllenNeuralDynamics / aind-fip-dff

This capsule takes an input raw NWB file of fiber data and creates processed DFF traces
MIT License
0 stars 0 forks source link

NWB files created by pipeline are un-openable #3

Closed alexpiet closed 3 months ago

alexpiet commented 3 months ago

I attempted to open the data assets produced by the FIP pipeline, but they would not open. The file sizes are suspiciously small as well.

To reproduce:

  1. Go to pipeline, https://codeocean.allenneuraldynamics.org/capsule/0995759/tree
  2. Click on timeline on the right hand side
  3. click on a data asset created by the pipeline
  4. manually download the file (CO is annoying to analyze data in)
  5. unzip the file
  6. run this code
    
    from hdmf_zarr import NWBZarrIO
    nwb = NWBZarrIO.(filepath,mode='r').read()
    ``
alexpiet commented 3 months ago

Debugging with @rachelstephlee and @Ahad-Allen we found that the problem is that I was using a command line unzip to open the downloaded file, but it works if I double click in the MacOS finder to unzip. Strange!