We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915cb01 commit a551f2dCopy full SHA for a551f2d
niworkflows/interfaces/cifti.py
@@ -364,7 +364,7 @@ def _create_cifti_image(
364
annot = nb.load(annotation_files[hemi == "RIGHT"])
365
medial = np.nonzero(annot.darrays[0].data)[0]
366
# extract values across volumes
367
- ts = np.array([tsarr.data[medial] for tsarr in surf_ts.darrays])
+ ts = surf_ts.agg_data("time series")[medial, :]
368
369
vert_idx = ci.Cifti2VertexIndices(medial)
370
bm = ci.Cifti2BrainModel(
0 commit comments