To save future me (and others) time in trying to track down this solution:
If you have metric gifti files (e.g., sub.L.sulc.32k.shape.gii
and sub.R.sulc.32k.shape.gii
) in fs_LR space and need to convert these into a single cifti dense scalar file (e.g., sub.sulc.32k.dscalar.nii
), then use the following workbench command:
wb_command -cifti-create-dense-scalar sub.sulc.32k.dscalar.nii -left-metric sub.L.sulc.32k.shape.gii -right-metric sub.R.sulc.32k.shape.gii