LorenFrankLab / rec_to_nwb

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

Set task_environment to none if not defined in metadata #18

Closed jguides closed 2 years ago

jguides commented 2 years ago

If 'task_environment' is not defined in the tasks section of the metadata, there is a key error. This change checks if 'task_environment' is passed, and if it is not, sets it to 'none'.

khl02007 commented 2 years ago

@lfrank @edeno looks good to me, please merge