Skip to content

Commit

Permalink
no compression for neuroconv
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Feb 21, 2024
1 parent c7874a9 commit d8e18e3
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,16 @@ def run(context: CreateSubrecordingContext):
new_nwbfile = create_nwbfile(nwbfile)

print('Writing subrecording to NWB file')
write_recording(subrecording, nwbfile_path="output.nwb", nwbfile=new_nwbfile)
write_recording(
subrecording,
nwbfile_path="output.nwb",
nwbfile=new_nwbfile,
compression=None,
iterator_type='v2',
iterator_opts={
'display_progress': True
}
)

print('Uploading the new NWB file')
context.output.upload('output.nwb')
Expand Down

0 comments on commit d8e18e3

Please sign in to comment.