Hi!
I’m extremely new to MRtrix and I’m trying to work my way through some basic tractography preprocessing steps. However, I ran into some unhandled python exceptions when trying to use dwifslpreproc that I couldn’t solve myself. Do anyone now why these occured (and how they can be resolved)?
OS: Ubuntu 18
Output:
karin@bionic-schnauzer:~/mri_testData/DICOM$ dwifslpreproc test_dwi.mif DWI_out.mif -rpe_none -pe_dir ap -readout_time 0.55
dwifslpreproc:
dwifslpreproc: Note that this script makes use of commands / algorithms that have relevant articles for citation; INCLUDING FROM EXTERNAL SOFTWARE PACKAGES. Please consult the help page (-help option) for more information.
dwifslpreproc:
dwifslpreproc: [ERROR] Unhandled Python exception:
dwifslpreproc: [ERROR] UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xe4 in position 630: invalid continuation byte
dwifslpreproc: [ERROR] Traceback:
dwifslpreproc: [ERROR] /home/karin/anaconda3/envs/old_mne/bin/dwifslpreproc:92 (in execute())
dwifslpreproc: [ERROR] image.check_3d_nonunity(path.from_user(app.ARGS.input, False))
dwifslpreproc: [ERROR] /home/karin/anaconda3/envs/old_mne/lib/mrtrix3/image.py:134 (in check_3d_nonunity())
dwifslpreproc: [ERROR] image_in = Header(image_in)
dwifslpreproc: [ERROR] /home/karin/anaconda3/envs/old_mne/lib/mrtrix3/image.py:46 (in init())
dwifslpreproc: [ERROR] data = json.loads(json_file.read().decode(‘utf-8’, errors=‘replace’))
dwifslpreproc: [ERROR] /home/karin/anaconda3/envs/old_mne/lib/python3.6/codecs.py:321 (in decode())
dwifslpreproc: [ERROR] (result, consumed) = self._buffer_decode(data, self.errors, final)
Thank you!