aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

for experiments without any task data, traits won't get saved as hdf metadata #16

Open leoscholl opened 3 years ago

leoscholl commented 3 years ago

because if there's no task_data then the task table is empty so it doesn't show up in the hdf file, thus no metadata can be added in Experiment.hdf_cleanup()

Low priority since the hdf traits aren't used anyway

leoscholl commented 3 years ago

this explains #15

leoscholl commented 3 years ago

since we've decided to use the hdf attributes now, this is slightly higher priority, although any time the traits are need there is always going to be task_data.

probably the exception is something like a laser only experiment.