Closed LucaGherardini closed 5 months ago
Markdowns are enclosed within triple backticks, not single--note for you for future.
EOFError: Compressed file ended before the end-of-stream marker was reached
I believe this means your .gz
files were not written properly which I can only pin on the method of your splitting.
Here's our reliable program for multi shell harmonization: https://github.com/pnlbwh/multi-shell-dMRIharmonization
If you need shell-splitting, you can use this script: https://github.com/pnlbwh/multi-shell-dMRIharmonization/blob/master/lib/separateBshells.py
For the --ref_bshell_file
, I believe you need only:
0
1000
in a text file. But I would let you figure otherwise.
@tashrifbillah thank you very much for your fast response and for the suggestion about Markdown. I will try to shift my method as you suggested. Have a nice day
Hello, I'm using this handy pipeline with many heterogeneous DWI images. In my dataset, I have some ex multi-shells which have been extracted into single shells (keeping only 0, 1000 as bvals, and their corresponding bvecs) but I have this error
EOFError: Compressed file ended before the end-of-stream marker was reached
I made the single shell extraction by hand, and it is identical to the outputs of other commands (I.e. dwiextract of mrtrix3). It's not raising complaints either from the eddy correction tool in FSL suite (which usually is quite precise with bvals and bvecs specification). Original single shell files are ok, so I suppose it's something I didn't care about during single shell extraction, but I would like to have more precise information on this error.Below you can find the traceback: