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

Split out CuBIDS.change_filename into file- and modality-specific functions #422

Open
tsalo opened this issue Jan 31, 2025 · 0 comments
Open
Labels

Comments

@tsalo
Copy link
Member

tsalo commented Jan 31, 2025

I think it would be nice to have separate functions for identifying and renaming each of the associated files and metadata fields that are flagged in change_filename. Something like:

  • rename_dwi, which would call rename_bval, rename_bvec, update_fieldmap_intendedfors, and update_scans_tsv
  • rename_func, which would call rename_events, rename_physio, update_fieldmap_intendedfors, and update_scans_tsv
  • rename_asl, which would call rename_aslcontext, rename_m0scan, rename_asllabeling, update_fieldmap_intendedfors, and update_scans_tsv
@tsalo tsalo added the refactor label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant