Skip to content

Commit

Permalink
FIX stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc committed May 21, 2024
1 parent 3e886e9 commit 68af301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex/mapper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def vol2surf(
# Select only voxels in the thick mask
voxel2fsnative = [vfs[:, mask] for vfs in voxel2fsnative]
if target_surface == "native":
data_projected = nanproject(data, voxel2fsnative)
data_projected = nanproject(data, scipy.sparse.vstack(voxel2fsnative))
else:
fsnative2fsaverage = cortex.db.get_mri_surf2surf_matrix(
subject, "fiducial", fs_subj=subject_freesurfer, target_subj=target_surface
Expand Down

0 comments on commit 68af301

Please sign in to comment.