Skip to content

Commit

Permalink
fix: smriprep data load
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Aug 1, 2024
1 parent 9700de2 commit 03098fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nibabies/workflows/bold/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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'),
Expand Down

0 comments on commit 03098fe

Please sign in to comment.