Skip to content

Commit

Permalink
MNT: Transition from niworkflows.viz to nireports
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 19, 2024
1 parent 03076bd commit 563a4b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
"nibabel >= 3.0",
"nipype >= 1.8.5",
"migas >= 0.4.0",
"nireports >= 24.0.2",
"niworkflows >= 1.7.0",
"nitransforms >= 24.1.0",
"numpy >= 1.22",
Expand Down
2 changes: 1 addition & 1 deletion sdcflows/interfaces/reportlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from nilearn.image import threshold_img, load_img
from niworkflows import NIWORKFLOWS_LOG
from niworkflows.utils.images import rotation2canonical, rotate_affine
from niworkflows.viz.utils import cuts_from_bbox, compose_view
from nireports.reportlets.utils import cuts_from_bbox, compose_view
from nipype.interfaces.base import File, isdefined, traits
from nipype.interfaces.mixins import reporting

Expand Down
2 changes: 1 addition & 1 deletion sdcflows/viz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def plot_registration(
import matplotlib.pyplot as plt
from nilearn.plotting import plot_anat
from svgutils.transform import SVGFigure
from niworkflows.viz.utils import robust_set_limits, extract_svg, SVGNS
from nireports.reportlets.utils import robust_set_limits, extract_svg, SVGNS

plot_params = plot_params or {}

Expand Down

0 comments on commit 563a4b9

Please sign in to comment.