Skip to content

Commit 563a4b9

Browse files
committed
MNT: Transition from niworkflows.viz to nireports
1 parent 03076bd commit 563a4b9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies = [
2727
"nibabel >= 3.0",
2828
"nipype >= 1.8.5",
2929
"migas >= 0.4.0",
30+
"nireports >= 24.0.2",
3031
"niworkflows >= 1.7.0",
3132
"nitransforms >= 24.1.0",
3233
"numpy >= 1.22",

sdcflows/interfaces/reportlets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from nilearn.image import threshold_img, load_img
2727
from niworkflows import NIWORKFLOWS_LOG
2828
from niworkflows.utils.images import rotation2canonical, rotate_affine
29-
from niworkflows.viz.utils import cuts_from_bbox, compose_view
29+
from nireports.reportlets.utils import cuts_from_bbox, compose_view
3030
from nipype.interfaces.base import File, isdefined, traits
3131
from nipype.interfaces.mixins import reporting
3232

sdcflows/viz/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def plot_registration(
4747
import matplotlib.pyplot as plt
4848
from nilearn.plotting import plot_anat
4949
from svgutils.transform import SVGFigure
50-
from niworkflows.viz.utils import robust_set_limits, extract_svg, SVGNS
50+
from nireports.reportlets.utils import robust_set_limits, extract_svg, SVGNS
5151

5252
plot_params = plot_params or {}
5353

0 commit comments

Comments
 (0)