Dhcp structural pipeline measure docker only T2


I am trying to use the dhcp docker for the pipeline measures but I am not sure if it will work with only T2 images. I do not have enough usable T1 images for this data set. When I run it I get ‘no T1 for session-1’. Thanks!


Hi @ajdneuro,

Yes, you can run the structural pipeline without T1 images. However, this means you won’t get myelin maps for your subjects (T1w/T2w ratio). What command are you using for the structural pipeline?

Best wishes,


Hi Logan,

Thanks! I ran the pipeline, just the script (docked) for calculating the measures is not working without the T1s.


Hi Alex,

If you are using the command as per the BioMedIA GitHub here:

$ docker run --rm -t \
    -u $(id -u):$(id -g) \
    -v $PWD/data:/data \
    biomedia/dhcp-structural-pipeline:latest subject1 session1 44 \
            -T1 data/T1w.nii.gz -T2 data/T2w.nii.gz -t 8

You just need to remove the -T1 flag. Let me know if that doesn’t work :slight_smile:


Sorry I mean these scripts:

At what point in the pipeline are you getting this error?

When I run the docker image and point it to the derivates it gives this error:
pa0639 no T1 for session session-1