I am a beginner with MNE, trying to organize my dicoms from a T1 and gre_05
flash sequence to compute the BEM model.
I created the source and destination directories and checked the
permissions.
I am getting an error message about missing permissions to create the
folder "003_gre_5\260_PDW" (the anti-slash is not a mistake; screenshot
attached).
Since the function is able to create the folders for the T1 images in the
same directory, I don't think the problem is with the permissions.
Could it be the filenames and if so, how do I assess that?
MNE-Version is 2.7.4
Thanks Alex, can you give a specific pointer on mne wiki regarding " these
commands can now be done with MNE-Python"?
We'll incorporate this new way in the pipeline (once I am on site)
Cheers,
Virginie
Dear Alex,
thank you for the answer. I am trying to follow up on your suggestion to
use MNE-python for that step.
I found the function mne.bem.convert_flash_mris, which however requires the
images to be organized by using mne_organize_dicom (see the notes section
on the bottom of that
<http://martinos.org/mne/stable/generated/mne.bem.convert_flash_mris.html>
page).
Is there a way to circumvent that step?
Thank you!
Sophie
Dear Alex,
we finally found out what the problem is, but I still don't know how to
solve it:
The flash sequence was named gre_5? during the measurement.
mne_organize_dicoms, or more specifically mne_dicom_essentials, seems to
have a problem with the '?' character: it prints a ? instead and then
throws an error when trying to create a folder with that name.
Apparently, the DICOM file names are encoded in Latin-1 / ISO 8859-1 and
the mne scripts expect UTF-8.
Is there a way to either change the filename in the dicoms, or make the
script understand/replace it?