File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -541,14 +541,16 @@ def _handle_info_reading(sidecar_fname, raw):
541541 return raw
542542
543543
544- def events_file_to_annotation_kwargs (events_fname : str | Path ) -> dict :
544+ @verbose
545+ def events_file_to_annotation_kwargs (events_fname : str | Path , verbose = None ) -> dict :
545546 r"""
546547 Read the ``events.tsv`` file and extract onset, duration, and description.
547548
548549 Parameters
549550 ----------
550551 events_fname : str
551552 The file path to the ``events.tsv`` file.
553+ %(verbose)s
552554
553555 Returns
554556 -------
@@ -603,7 +605,7 @@ def events_file_to_annotation_kwargs(events_fname: str | Path) -> dict:
603605 >>> df.to_csv(events_file, sep='\t', index=False)
604606 >>>
605607 >>> # Read the events file using the function
606- >>> events_dict = events_file_to_annotation_kwargs(events_file)
608+ >>> events_dict = events_file_to_annotation_kwargs(events_file, verbose=False )
607609 Reading events from /tmp/events.tsv.
608610 >>> events_dict
609611 {'onset': array([0.1, 0.2, 0.3]),
You can’t perform that action at this time.
0 commit comments