From 03098fef6a38f56c35131071034d33c25b69b110 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Thu, 1 Aug 2024 09:31:21 -0400 Subject: [PATCH] fix: smriprep data load --- nibabies/workflows/bold/resampling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nibabies/workflows/bold/resampling.py b/nibabies/workflows/bold/resampling.py index a9f15aff..47f4ab32 100644 --- a/nibabies/workflows/bold/resampling.py +++ b/nibabies/workflows/bold/resampling.py @@ -571,11 +571,11 @@ def init_bold_fsLR_resampling_wf( Path to BOLD series resampled as functional GIFTI files in fsLR space """ + import smriprep import templateflow.api as tf from niworkflows.engine.workflows import LiterateWorkflow as Workflow from niworkflows.interfaces.utility import KeySelect from niworkflows.interfaces.workbench import VolumeToSurfaceMapping - from smriprep import data as smriprep_data fslr_density = '32k' if grayord_density == '91k' else '59k' @@ -647,7 +647,7 @@ def init_bold_fsLR_resampling_wf( extension='.surf.gii', ) ] - atlases = smriprep_data.load_resource('atlases') + atlases = smriprep.load_data('atlases') select_surfaces.inputs.template_roi = [ str(atlases / f'L.atlasroi.{fslr_density}_fs_LR.shape.gii'), str(atlases / f'R.atlasroi.{fslr_density}_fs_LR.shape.gii'),