-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Fix mosaic plot
plot_sagittal
parameter warning
Fix mosaic plot `plot_sagittal` parameter warning: define the warning message so that it can be tested exactly and catch the warning where applicable. Fixes: ``` nireports/tests/test_reportlets.py::test_mriqc_plot_mosaic[True-views24] nireports/tests/test_reportlets.py::test_mriqc_plot_mosaic[True-views26] /home/runner/work/nireports/nireports/nireports/tests/test_reportlets.py:360: UserWarning: Argument ``plot_sagittal`` for plot_mosaic() should not be used. testfunc() ``` raised for example in: https://github.com/nipreps/nireports/actions/runs/12681153218/job/35344304375#step:12:360
- Loading branch information
1 parent
d88ca78
commit 691fbc9
Showing
2 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters