[ENH] Allow import from zip files, and allow export with newer versions of dcm2bids#374
Merged
DESm1th merged 49 commits intoTIGRLab:mainfrom Aug 19, 2025
Merged
[ENH] Allow import from zip files, and allow export with newer versions of dcm2bids#374DESm1th merged 49 commits intoTIGRLab:mainfrom
DESm1th merged 49 commits intoTIGRLab:mainfrom
Conversation
SessionImporter and SeriesImporter both used dcm_dir but for different functions (and with SeriesImporter sometimes being None). Renamed SessionImporter variable to better reflect differences.
Error files needed the session number to be match-able to the right scan session + bids inventory needs to include error files to ensure blacklisting removal etc. can correctly handle them.
At somepoint in the past I changed the import to scanid but didnt fully update all references so I just switched it back to avoid name reference errors
To prep for multiple versions of dcm2bids I've divided up the exporters and the bids classes will now be imported based on user environment.
- BidsOptions class is now specific to each bids exporter module - dm_xnat_extract will more flexibly handle options for dcm2bids and other future wrapped tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes the following changes: