PennLINC / qsiprep

Preprocessing of diffusion MRI
http://qsiprep.readthedocs.io
BSD 3-Clause "New" or "Revised" License
140 stars 57 forks source link

Error: File name too long #514

Open araikes opened 1 year ago

araikes commented 1 year ago

Hi @mattcieslak,

I was using CuBIDS to QC a dataset and then run QSIPrep (v. 0.16.1) on the exemplars when I ran into an issue with file name length:

OSError: [Errno 36] File name too long: '/xdisk/adamraikes/test_data/exemplar_data/derivatives/qsiprep-0.16.1/scratch/reportlets/qsiprep/sub-33752510/ses-00/dwi/sub-33752510_ses-00_acq-VARIANTEchoTimeEffectiveEchoSpacingParallelReductionFactorInPlanePartialFourierRepetitionTimeTotalReadoutTimeNSliceTimesNumVolumesObliquity_dir-AP_dwi_denoise_ses_00_acq_VARIANTEchoTimeEffectiveEchoSpacingParallelReductionFactorInPlanePartialFourierRepetitionTimeTotalReadoutTimeNSliceTimesNumVolumesObliquity_dir_AP_dwi_wf_denoising.svg'

I know this is largely a CuBIDS issue since the variant naming comes from there but just something to be aware of.

mattcieslak commented 1 year ago

Hi @araikes, happy to see qsiprep and cubids being used together! In cases like this, where there are a ton of differences between an acquisition and the dominant group, we'd typically change the acq name to something like acq-version2 or something to indicate that it's a very different acquisition. If only one or two parameters are variants than we keep the auto-renamed acq-tag. So I'd recommend going back to cubids-apply and change these to something short and distinct in the acq- tag