-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Skip visits for which processed images exist (#1399)
* Add a small dataclass for visits * Implement small extract_visits function * Modify Pipeline base class to always look for already processed visits * Update AnatLinear pipeline to use new way * Implement for PETLinear * Add more control on file entities for the CAPS generator * get_processed_images should query cropped or uncropped files depending on what the user is asking... * Add unit tests for AnatLinear get_processed_images * update docstring of build_caps_directory * add more tests * Enable the caps generator to generate fake pet-linear outputs * add unit tests for pet-linear * rename method and remove abstract decorator for now * add method to query pet-linear transformation matrices * Implement hashing and ordering for Visit class * PetLinear considers visits processed if both image and transformation matrix are found * T1Linear considers visits processed if both image and transformation matrix are found * Remove unused import * Allows PETLinear to check for PET images registered on T1w image * Add test for handling pet images registered on T1w image * Remove entity pet in the middle of the filename as this was done in the pipeline some time ago
- Loading branch information
1 parent
592ae02
commit 7457f03
Showing
24 changed files
with
772 additions
and
113 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.