Skip to content

Commit

Permalink
Add verbose kwarg to mda write_recording
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishalcrow committed Nov 13, 2024
1 parent a606364 commit 8845d3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spikeinterface/extractors/mdaextractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def write_recording(
params_fname="params.json",
geom_fname="geom.csv",
dtype=None,
verbose=False,
**job_kwargs,
):
"""Write a recording to file in MDA format.
Expand All @@ -93,6 +94,8 @@ def write_recording(
File name of geom file
dtype : dtype or None, default: None
Data type to be used. If None dtype is same as recording traces.
verbose : bool
If True, shows progress bar when saving recording.
**job_kwargs:
Use by job_tools modules to set:
Expand Down Expand Up @@ -130,6 +133,7 @@ def write_recording(
dtype=dtype,
byte_offset=header_size,
add_file_extension=False,
verbose=verbose,
**job_kwargs,
)

Expand Down

0 comments on commit 8845d3d

Please sign in to comment.