Skip to content

Commit

Permalink
Merge pull request #3535 from chrishalcrow/add-verbose-to-mda
Browse files Browse the repository at this point in the history
Add verbose kwarg to mda write_recording
  • Loading branch information
alejoe91 authored Nov 19, 2024
2 parents 0e13973 + 74f93b4 commit e656f79
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 e656f79

Please sign in to comment.