Closed ntustison closed 3 hours ago
An underscore seems like a sensible quick fix, but it would be nice to have more explicit naming, something like {prefix}_templatemodality-{i} or {prefix}_input-{j}modality-{i} for input images. The trailing underscore prevents the same problem with 1Warp.nii.gz
getting joined to {i}.
Thanks @cookpa . Sounds good. I'll work on putting together a pull request.
Just ran into this issue and decided to post to get some feedback. With the adopted naming convention, when we
ls
the set of images for a particular modality (e.g., here), the files for modality1
get listed with10
. An immediate solution seems to be adding something like an underscore in the base filename after the modality index but just wanted to see if there was an alternative preferred approach.