Skip to content

Commit

Permalink
Fix empty nwbfile bug for write_recording (#877)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Baker <[email protected]>
  • Loading branch information
h-mayorquin and CodyCBakerPhD authored May 25, 2024
1 parent 4e4d900 commit 5aeac19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* `BaseImagingExtractor.add_to_nwbfile()` is fixed in the case where metadata is not supplied. [PR #849](https://github.com/catalystneuro/neuroconv/pull/849)
* Prevent `SpikeGLXConverterPipe` from setting false properties on the sub-`SpikeGLXNIDQInterface`. [PR #860](https://github.com/catalystneuro/neuroconv/pull/860)
* Fix bug when adding ragged arrays to the electrode and units table [PR #870](https://github.com/catalystneuro/neuroconv/pull/870)
* Fix bug where `write_recording` will call an empty nwbfile when passing a path [PR #877](https://github.com/catalystneuro/neuroconv/pull/877)

### Improvements
* Fixed docstrings related to backend configurations for various methods. [PR #822](https://github.com/catalystneuro/neuroconv/pull/822)
Expand Down
2 changes: 1 addition & 1 deletion src/neuroconv/tools/spikeinterface/spikeinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def write_recording(
) as nwbfile_out:
add_recording(
recording=recording,
nwbfile=nwbfile,
nwbfile=nwbfile_out,
starting_time=starting_time,
metadata=metadata,
write_as=write_as,
Expand Down

0 comments on commit 5aeac19

Please sign in to comment.