Closed rly closed 4 years ago
Sounds good. I updated your example slightly, i.e., the import for VoltageClampStimulusSeries
was missing and no sweep was added. I'll add the example once I have it working with the latest HDMF.
Good idea! Two suggestions:
sweep_number
, as this extension is basically replacing the sweeps
tableadd_ic_sweep
, add_ic_sweep_sequence
etc) are coming from: they are the outputs of the previous nwbfile.add_*
calls and this is not apparent.
I'd do something like this:
n = nwbfile.add_intracellular_recording(...)
p = nwbfile.add_ic_sweep(recordings = n)
@lvsltz thanks for the suggestion. I've updated the example accordingly.
The notebooks are great and well documented; however, I have found it useful to have a barebones almost minimum working demonstration of the new data types. I suggest such an example is added to the bottom of the README. Something like the following:
I think the above should run. The downside of including code in the README is that it is not testable and it is quite long, but I think it is helpful for an at-a-glance overview of the extension and its usage nevertheless