DCAN-Labs / abcd-hcp-pipeline

bids application for processing functional MRI data, robust to scanner, acquisition and age variability.
https://hub.docker.com/r/dcanumn/abcd-hcp-pipeline
BSD 3-Clause "New" or "Revised" License
48 stars 19 forks source link

KeyError: 'PixelBandwidth' #119

Open JD-Hwang opened 1 month ago

JD-Hwang commented 1 month ago

What happened?

I tried running ABCD-HCP-pipeline docker with some of the 2-year follow-up ABCD bids data to get the RSFC matrix but got a KeyError of t1w metadata. I guess all other arguments were well given... what should I do? Has anyone had a similar issue?

image

What command did you use?

sudo docker run -v /data5/open_data/ABCD/4.0/Package_1204192/fmriresults01/abcd-mproc-release4/unziped:/bids_input:ro -v /data5/open_data/ABCD/derivatives_2YFU:/output -v /users/hjd/freesurfer/license/license.txt:/opt/freesurfer/license.txt dcanumn/abcd-hcp-pipeline:v0.1.5 /bids_input /output --freesurfer-license=/opt/freesurfer/license.txt --ignore func

What version of the abcd-hcp pipeline are you using?

v0.1.5

Directory Structure

image

Relevant log output

Traceback (most recent call last):
  File "/app/run.py", line 396, in <module>
    _cli()
  File "/app/run.py", line 69, in _cli
    return interface(**kwargs)
  File "/app/run.py", line 291, in interface
    session_spec = ParameterSettings(session, out_dir)
  File "/app/pipelines.py", line 106, in __init__
    self.bids_data['t1w_metadata'])
  File "/app/helpers.py", line 295, in get_realdwelltime
    pBW = metadata['PixelBandwidth']
KeyError: 'PixelBandwidth'

Add any additional information or context about the problem here.

Tried docker image latest version and then v0.1.5, got the same issue