Skip to content

fix section parameter to allow proper hierarchy#12319

Merged
drammock merged 3 commits intomne-tools:mainfrom
obergmartin:report_debugging
Dec 21, 2023
Merged

fix section parameter to allow proper hierarchy#12319
drammock merged 3 commits intomne-tools:mainfrom
obergmartin:report_debugging

Conversation

@obergmartin
Copy link
Copy Markdown
Contributor

Reference issue

Discussion on Discourse about Report.add_html().
HTML chunks were added to the main level, not within the supplied section.

The section value passed to self._add_or_replace was hard coded as None and didn't use the supplied section argument.

@welcome
Copy link
Copy Markdown

welcome bot commented Dec 20, 2023

Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴

@larsoner
Copy link
Copy Markdown
Member

@obergmartin could you add a doc/changes/devel/12319.bugfix.rst file that mentions this fix along with your name using the :newcontrib: reST role (see here) and your name in doc/changes/names.inc? Then we can get you proper credit on merge, thanks!

@obergmartin
Copy link
Copy Markdown
Contributor Author

@larsoner glad to be a contributor, looking forward to doing more!

Copy link
Copy Markdown
Member

@drammock drammock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally and it works for me. Thanks @obergmartin

@drammock drammock enabled auto-merge (squash) December 21, 2023 20:41
@drammock drammock merged commit ca7fe26 into mne-tools:main Dec 21, 2023
@welcome
Copy link
Copy Markdown

welcome bot commented Dec 21, 2023

🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants