DiceMetric Error

AFNI version info (afni -ver):

I am trying to calculate the dicemetric for 2 masks that I have generated in SPM.
I have run the code as follows

My code looks like
@DiceMetric -base [mask1] -dsets [mask2]

However, it returns this error
** FATAL ERROR: Can't open dataset 'AFN_BwYZ5icMkWijO4679uxLEg.aib'

Anyone has enountered this?

Thank you!

That is a very old program that doesn't seem to work for NIFTIs, and probably should be updated with other things, too.

You can use 3ddot -dodice ... as a better current alternative.

--pt

Thank you Paul, that worked perfectly well!