Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOLD_NOT_4D for one particular run (converting both single band and multi band files) #751

Open
1 of 2 tasks
John-Chin opened this issue Apr 12, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@John-Chin
Copy link

Summary

I am trying to convert a set of dicom files to BIDS format using dcm2niix and a custom heuristic. See the following command:
heudiconv --files /mnt/LD4_PilotData/rawdata/LD001/*/*dcm -o /mnt/LD4_PilotData/subjects -f /mnt/LD4_PilotData/code/LD4_BIDS.py -s 001 -c dcm2niix -b --overwrite

Everything converts as expected except for one thing: One particular run, run # 5, which is the 6th run out of 7 runs (using a 0-6 naming convention) should be a functional bold 4D image, but for some reason it only has 3 dimensions after conversion. All the other functional runs are converted correctly with 4D. Hence, I'm not sure what's going on with run # 5 (although I do not think it is a data issue, because I tried preprocessing the data in AFNI and it turns out fine).

Perhaps a factor is that my subject dicom files include both multiple multi-echo/multi-band scans and one or more non-ME/non-MB fMRI scans. So maybe I am not constructing my heurstic LD4_BIDS.py correctly to account for this? (This is my first time dealing with single and mutli band/ME files).

I have attached my custom heuristic LD4_BIDS.py.txt and any help is appreciated.

Platform details:

Choose one:

  • Local environment
  • Container
  • OS: Ubuntu 18.04.6 LTS
  • Python version: Python 2.7.17
  • Heudiconv version: 0.5.4.dev1
  • dcm2niix version: v1.0.20181125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant