LorenFrankLab / rec_to_nwb

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

Changes to enable storing task environment in metadata #17

Closed jguides closed 2 years ago

edeno commented 2 years ago

@jguides Questions for you:

  1. How does this interact with the yaml? Does one specify the task environment there?
  2. What happens if it is not specified?
jguides commented 2 years ago

@edeno, 1) yes. The task environment can be specified as a field in the tasks section of the yaml file, for example

tasks:

2) If it's not specified, it should default to 'none'. I will test that this works by generating a new nwb file without the task environment specified.

In my original push, "environment" instead of "task_environment" was searched for in the yaml file. For consistency, I'll change this to "task_environment" (as in the example above).