Description
@Shotgunosine and I have been working on updating and adding various AFNI interfaces, and just finished talking about how to deal with one of the main issues that we've found in all of them: AFNI defaults to outputting BRIK
/HEAD
files. Because these files have an "orientation tag," (e.g., out_file+orig.BRIK
) they are incompatible with traditional implicit out_file naming (i.e., using name_source and name_template). Indeed, most of the existing AFNI Interfaces don't appropriately collect implicitly named output files due to this issue.
We are suggesting coercing all AFNI interface image outputs to default to nifti format (i.e., as is currently done with FSL Interfaces). @Shotgunosine has spoken with the AFNI team at the NIMH who reported that they didn't foresee any issues with this. However, since this change would affect all existing AFNI interfaces, we thought it best to post about it here for discussion before implementing anything.
We hope to follow up on this implementation by create an AFNIImage class to permit nifti sub-brick selection (see: sub-brick selection).