LorenFrankLab / rec_to_nwb

Data Migration REC -> NWB 2.0 Service
Other
2 stars 8 forks source link

Can't process days without .sc files #13

Closed acomrie closed 2 years ago

acomrie commented 3 years ago

The pipeline does not allow the associated_files section of the metadata.yml to be empty, and also does not allow for that section to be removed. This is relevant for creating .nwb files for days where no .sc files need to be associated with the .rec file and other data.

acomrie commented 3 years ago

Just adding to this - even if there are .sc files included for the sleep sessions, as long as there are no run sessions, I still get the error: 'NoneType' object is not iterable.

acomrie commented 2 years ago

This issue is resolved. For others' reference, I needed to remove a reference in the metadata yml to a task that did not occur on a sleep-only day.