Open lnnrtwttkhn opened 1 month ago
Attempt 1:
datalad unlock /home/mpib/wittkuhn/highspeed-fast/highspeed-fast-preproc/inputs/fmriprep/sub-03/ses-01/func/sub-03_ses-01_task-rest_rec-prenorm_space-T1w_desc-preproc_bold.nii.gz
xxd /home/mpib/wittkuhn/highspeed-fast/highspeed-fast-preproc/inputs/fmriprep/sub-03/ses-01/func/sub-03_ses-01_task-rest_rec-prenorm_space-T1w_desc-preproc_bold.nii.gz > hexfile.hex
sed -i 's/\(^00000150:.*\)\(..\)\(.*$\)/\100 \3/' hexfile.hex
xxd -r hexfile.hex /home/mpib/wittkuhn/highspeed-fast/highspeed-fast-preproc/inputs/fmriprep/sub-03/ses-01/func/sub-03_ses-01_task-rest_rec-prenorm_space-T1w_desc-preproc_bold.nii.gz
I think the issues is related to this: https://github.com/datalad/datalad/issues/7408
FSL is trying to operate on the files in-place and this does not play well when DataLad has the files locked.