From 97a9ded4c4c4aa929f5489e57a81f770898246ad Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Fri, 25 Oct 2024 09:44:46 -0400 Subject: [PATCH] FIX: Wrapper --- mne_bids_pipeline/_docs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mne_bids_pipeline/_docs.py b/mne_bids_pipeline/_docs.py index bbc0c313f..ff5dcd671 100644 --- a/mne_bids_pipeline/_docs.py +++ b/mne_bids_pipeline/_docs.py @@ -240,6 +240,8 @@ def _add_step_option(step: str, option: str) -> None: # Get the source and regex for config values if key == "_import_data_kwargs": funcs = [getattr(_import_data, key)] + elif key == "get_sessions": # wrapper now + funcs = [getattr(_config_utils, "_get_sessions")] else: funcs = [getattr(_config_utils, key)] for func_name in _EXTRA_FUNCS.get(key, ()):