xcp_d.utils.modified_data.cast_cifti_to_int16
- xcp_d.utils.modified_data.cast_cifti_to_int16(in_file)[source]
Cast a CIFTI file to int16 data.
This function serves as a temporary workaround for a bug in the DerivativesDataSink class from niworkflows version 1.7.1. For more information, see https://github.com/nipreps/niworkflows/issues/778.
NOTE: This is a Node function.