I spent a bit of time looking at this, and I think the tar path doesn’t match up with the file name. If I remove the _\*
, yielding -d tar-files/Baron_uStructConcussion_20220526_\{subject\}_20220526_01.73F9D000.tar
, heudiconv runs. I don’t really know if the run yields something satisfactory or how to get tar2bids to produce this invocation, though. Here’s my output:
Singularity> heudiconv --overwrite -b -d tar-files/Baron_uStructConcussion_20220526_\{subject\}_20220526_01.73F9D000.tar -o tar2bids-out-bruker/ -f /opt/tar2bids/heuristics/cfmm_bruker.py -s NR24
WARNING: Could not check for version updates: Connection to server could not be made
INFO: Running heudiconv version 0.10.0 latest Unknown
INFO: Need to process 1 study sessions
INFO: PROCESSING STARTS: {'subject': 'NR24', 'outdir': '/home/tkuehn/Code/tar2bids-out-bruker/', 'session': None}
INFO: Processing 15 dicoms
INFO: Analyzing 15 dicoms
INFO: Generated sequence info for 15 studies with 15 entries total
INFO: Doing conversion using dcm2niix
INFO: Converting /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w (1 DICOMs) -> /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat . Converter: dcm2niix . Output types: ('nii.gz',)
220818-14:45:49,402 nipype.workflow INFO:
[Node] Setting-up "convert" in "/tmp/dcm2niix76pguni2/convert".
INFO: [Node] Setting-up "convert" in "/tmp/dcm2niix76pguni2/convert".
220818-14:45:49,407 nipype.workflow INFO:
[Node] Executing "convert" <nipype.interfaces.dcm2nii.Dcm2niix>
INFO: [Node] Executing "convert" <nipype.interfaces.dcm2nii.Dcm2niix>
220818-14:45:54,514 nipype.interface INFO:
stderr 2022-08-18T14:45:54.513878:Error: Anatomical Orientation Type (0010,2210) is QUADRUPED: rotate coordinates accordingly
INFO: stderr 2022-08-18T14:45:54.513878:Error: Anatomical Orientation Type (0010,2210) is QUADRUPED: rotate coordinates accordingly
220818-14:45:54,515 nipype.interface INFO:
stdout 2022-08-18T14:45:54.515075:Chris Rorden's dcm2niiX version v1.0.20210317 (JP2:OpenJPEG) (JP-LS:CharLS) GCC5.5.0 x86-64 (64-bit Linux)
INFO: stdout 2022-08-18T14:45:54.515075:Chris Rorden's dcm2niiX version v1.0.20210317 (JP2:OpenJPEG) (JP-LS:CharLS) GCC5.5.0 x86-64 (64-bit Linux)
220818-14:45:54,515 nipype.interface INFO:
stdout 2022-08-18T14:45:54.515075:Found 1 DICOM file(s)
INFO: stdout 2022-08-18T14:45:54.515075:Found 1 DICOM file(s)
220818-14:45:54,515 nipype.interface INFO:
stdout 2022-08-18T14:45:54.515075:Convert 1 DICOM as /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w_heudiconv786 (128x96x35x1)
INFO: stdout 2022-08-18T14:45:54.515075:Convert 1 DICOM as /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w_heudiconv786 (128x96x35x1)
220818-14:45:54,543 nipype.interface INFO:
stdout 2022-08-18T14:45:54.543540:Compress: "/usr/bin/pigz" -n -f -6 "/home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w_heudiconv786.nii"
INFO: stdout 2022-08-18T14:45:54.543540:Compress: "/usr/bin/pigz" -n -f -6 "/home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w_heudiconv786.nii"
220818-14:45:54,543 nipype.interface INFO:
stdout 2022-08-18T14:45:54.543540:Conversion required 0.032808 seconds (0.005307 for core code).
INFO: stdout 2022-08-18T14:45:54.543540:Conversion required 0.032808 seconds (0.005307 for core code).
220818-14:45:54,572 nipype.workflow INFO:
[Node] Finished "convert", elapsed time 0.082812s.
INFO: [Node] Finished "convert", elapsed time 0.082812s.
WARNING: Failed to get date/time for the content: 'FileDataset' object has no attribute 'AcquisitionDate'
WARNING: Failed to find task field in /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w.json.
220818-14:45:59,604 nipype.workflow INFO:
[Node] Setting-up "embedder" in "/tmp/embedmetaq9v9rbf7/embedder".
INFO: [Node] Setting-up "embedder" in "/tmp/embedmetaq9v9rbf7/embedder".
220818-14:45:59,609 nipype.workflow INFO:
[Node] Executing "embedder" <nipype.interfaces.utility.wrappers.Function>
INFO: [Node] Executing "embedder" <nipype.interfaces.utility.wrappers.Function>
220818-14:45:59,653 nipype.workflow INFO:
[Node] Finished "embedder", elapsed time 0.042903s.
INFO: [Node] Finished "embedder", elapsed time 0.042903s.
INFO: Post-treating /home/tkuehn/Code/tar2bids-out-bruker/sub-NR24/anat/sub-NR24_acq-TurboRARE_run-01_T2w.json file
INFO: Populating template files under /home/tkuehn/Code/tar2bids-out-bruker/
INFO: PROCESSING DONE: {'subject': 'NR24', 'outdir': '/home/tkuehn/Code/tar2bids-out-bruker/', 'session': None}