Nrrd compatibility of nipype

Hi,
I am attempting to calculate the distance between two ROIs which are in nrrds:

dist = Distance()
dist.inputs.volume1 = './Contour1_IndexedLabelmap.nrrd’
dist.inputs.volume2 = './Contour2_IndexedLabelmap.nrrd’
dist.inputs.method = 'eucl_min’
test = dist.run()
print test.outputs.distance

However, this produces an:
ImageFileError: Cannot work out file type of “./Contour1_IndexedLabelmap.nrrd” Interface Distance failed to run.

The path names have been removed for this post, but it is finding the correct files, it just can’t figure out their type.

Is this a mistake on my part, or is there a plan to include nrrd compatibility in the future?

Thanks for any help you can give!

This interface is using Nibabel to read input files. I don’t think it supports NRRD right now. There is an open issue for it, but I don’t know what is the time frame. Might be worth commenting there.

Thank you for the reply! I will try commenting in the link you provided.