We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5498e2 commit 70043afCopy full SHA for 70043af
doc/whats_new.rst
@@ -47,7 +47,7 @@ Detailed list of changes
47
🪲 Bug fixes
48
^^^^^^^^^^^^
49
50
-- None yet
+- Fixed a bug that modified the name and help message of some of the available commands, by `Alex Lopez Marquez`_ (:gh:`1441`)
51
52
⚕️ Code health
53
^^^^^^^^^^^^^^
mne_bids/commands/run.py
@@ -11,7 +11,7 @@
11
12
mne_bin_dir = Path(mne_bids.__file__).parent
13
valid_command_paths = sorted((mne_bin_dir / "commands").glob("mne_bids_*.py"))
14
-valid_commands = [cmd.stem.lstrip("mne_bids_") for cmd in valid_command_paths]
+valid_commands = [cmd.stem.removeprefix("mne_bids_") for cmd in valid_command_paths]
15
16
17
def print_help():
0 commit comments