Grayordinate number mismatch between data and parcellation map

Hi everyone,

I am working on this dataset for my master’s thesis, and I am trying to apply a parcelation on the cifti files in the NON_BIDS/ciftis/ folder using the hcp library in python.

For some reason, it seems that all the parcelation maps have 91282 grayordinates, while the ciftis in my dataset have 91206 . Here’s the exact error I’m getting:
IndexError: boolean index did not match indexed array along dimension 1; dimension is 91206 but corresponding boolean dimension is 91282

I havent managed to figure this out for a couple of days now… Can anyone help? Thanks!

Giannis

I think you can use wb_command -cifti-create-dense-from-template to resample one to the other.