Closed jthermiz closed 2 years ago
Was preprocessing ever run on that file previously? It seems possible that pynwb is storing some information in the nwb file when the preprocessing module is added that copy_strip isn't removing.
I just tried to create one from scratch using nsds_lab_to_nwb
and I still get the same error. I'm attaching the log file generated by generate_nwb.py
It looks like it is happening twice for some reason
INFO:nsds_lab_to_nwb.convert_block:Resampling...
INFO:nsds_lab_to_nwb.convert_block:Filtering and re-referencing...
INFO:nsds_lab_to_nwb.convert_block:Running wavelet transform...
INFO:nsds_lab_to_nwb.convert_block:Resampling...
INFO:nsds_lab_to_nwb.convert_block:Filtering and re-referencing...
INFO:nsds_lab_to_nwb.convert_block:Running wavelet transform...
Good call. It looks like there is duplicate code for resampling, filtering and transforming in the version that I was running. However, the latest version has another issue when all_steps=False
. I will close this issue and open a new open for that.
I have a file
/clusterfs/NSDS_data/nwb/RJH13/RJH13_B03.nwb
that does not have a preprocessing module based on the readout fromh5dump
but when I go to preprocess it, I get this error:Also when I try to remove the preprocessing module, using
copy_strip
I get a message that says it does not exist.