Skip to content

Commit

Permalink
Add number of subjects to grand-average report (cont'd) (#910)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Höchenberger <richard.hoechenberger@gmail.com>
  • Loading branch information
SophieHerbst and hoechenberger committed Mar 29, 2024
1 parent 59d83fa commit 8cc0754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/v1.9.md.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### :new: New features & enhancements

- Added number of subject to `sub-average` report (#902 by @SophieHerbst)
- Added number of subject to `sub-average` report (#902, #910 by @SophieHerbst)
- The type annotations in the default configuration file are now easier to read: We
replaced `Union[X, Y]` with `X | Y` and `Optional[X]` with `X | None`. (#908 by @hoechenberger)

Expand Down
2 changes: 1 addition & 1 deletion mne_bids_pipeline/_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def add_csp_grand_average(
import matplotlib.pyplot as plt # nested import to help joblib

# First, plot decoding scores across frequency bins (entire epochs).
section = "Decoding: CSP"
section = f"Decoding: CSP, N = {len(cfg.subjects)}"
freq_name_to_bins_map, _ = _handle_csp_args(
cfg.decoding_csp_times,
cfg.decoding_csp_freqs,
Expand Down

0 comments on commit 8cc0754

Please sign in to comment.