Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multivariate template construction with > 10 modalities #1731

Open
ntustison opened this issue Apr 28, 2024 · 2 comments
Open

Multivariate template construction with > 10 modalities #1731

ntustison opened this issue Apr 28, 2024 · 2 comments

Comments

@ntustison
Copy link
Member

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 modality 1 get listed with 10. 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.

@cookpa
Copy link
Member

cookpa commented Apr 29, 2024

An underscore seems like a sensible quick fix, but it would be nice to have more explicit naming, something like {prefix}template_modality-{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}.

@ntustison
Copy link
Member Author

Thanks @cookpa . Sounds good. I'll work on putting together a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants