Skip to content

Commit

Permalink
fix section parameter to allow proper hierarchy (#12319)
Browse files Browse the repository at this point in the history
  • Loading branch information
obergmartin authored Dec 21, 2023
1 parent a03a40d commit ca7fe26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changes/devel/12319.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug where section parameter in :meth:`mne.Report.add_html` was not being utilized resulting in improper formatting, by :newcontrib:`Martin Oberg`.
2 changes: 2 additions & 0 deletions doc/changes/names.inc
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@

.. _Martin Luessi: https://github.com/mluessi

.. _Martin Oberg: https://github.com/obergmartin

.. _Martin Schulz: https://github.com/marsipu

.. _Mathieu Scheltienne: https://github.com/mscheltienne
Expand Down
2 changes: 1 addition & 1 deletion mne/report/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,7 @@ def add_html(
)
self._add_or_replace(
title=title,
section=None,
section=section,
tags=tags,
html_partial=html_partial,
replace=replace,
Expand Down

0 comments on commit ca7fe26

Please sign in to comment.