You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our imaging facility recently updated the software for our Siemens Prisma 3T scanner to XA30. Prior to the update, I was able to run heudiconv using the reproin heuristic to convert and BIDS-ify my data (i.e., the protocol names for this study were compatible with reproin). However, while testing the same study after updating to XA30, I started getting an error on my fmaps, which use the PEpolar technique (i.e., fmap_dir-ap and fmap_dir-pa).
I did note that the ImageType in the dicom header has changed. Prior to the update it was... ['ORIGINAL', 'PRIMARY', 'M', 'ND', 'NORM', 'MOSAIC']
after the XA30 update it is now... ['ORIGINAL', 'PRIMARY', 'FMRI', 'NONE']
INFO: Running heudiconv version 1.3.2 latest 1.3.2
INFO: Need to process 1 study sessions
INFO: PROCESSING STARTS: {'subject': '1001', 'outdir': '/datapool/home/mjstarrett/projects/siemensX30A/', 'session': None}
INFO: Processing 252 dicoms
INFO: Analyzing 252 dicoms
INFO: Filtering out 0 dicoms based on their filename
INFO: Generated sequence info for 8 studies with 252 entries total
INFO: Processing 8 seqinfo entries
WARNING: Could not determine the series name by looking at protocol_name, series_description fields
WARNING: Deduced datatype to be func from DICOM, but got fmap out of fmap_dir-AP
Traceback (most recent call last):
File "/datapool/home/mjstarrett/.local/bin/heudiconv", line 8, in <module>
sys.exit(main())
^^^^^^
File "/datapool/home/mjstarrett/.local/lib/python3.11/site-packages/heudiconv/cli/run.py", line 30, in main
workflow(**kwargs)
File "/datapool/home/mjstarrett/.local/lib/python3.11/site-packages/heudiconv/main.py", line 479, in workflow
prep_conversion(
File "/datapool/home/mjstarrett/.local/lib/python3.11/site-packages/heudiconv/convert.py", line 241, in prep_conversion
info = heuristic.infotodict(seqinfo_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/datapool/home/mjstarrett/.local/lib/python3.11/site-packages/heudiconv/heuristics/reproin.py", line 514, in infotodict
datatype_suffix = {
^
KeyError: 'FMRI'
The text was updated successfully, but these errors were encountered:
I don't have a solution, but I wanted to add that with the XA30 some of the tags used by reproin/heudiconv have been moved to the key ImageTypeText. E.g.,
Our imaging facility recently updated the software for our Siemens Prisma 3T scanner to XA30. Prior to the update, I was able to run heudiconv using the reproin heuristic to convert and BIDS-ify my data (i.e., the protocol names for this study were compatible with reproin). However, while testing the same study after updating to XA30, I started getting an error on my fmaps, which use the PEpolar technique (i.e., fmap_dir-ap and fmap_dir-pa).
I did note that the ImageType in the dicom header has changed. Prior to the update it was...
['ORIGINAL', 'PRIMARY', 'M', 'ND', 'NORM', 'MOSAIC']
after the XA30 update it is now...
['ORIGINAL', 'PRIMARY', 'FMRI', 'NONE']
PROTOCOL NAMES:
COMMAND RUN:
heudiconv -d sourcedata/{subject}/* -o . -f reproin -c dcm2niix -b --overwrite -s 1001
OUTPUT:
The text was updated successfully, but these errors were encountered: