♻️ Refactor atlas ingress - #1885
Draft
shnizzedy wants to merge 24 commits into
Draft
Conversation
Member
Author
|
Current status: only getting one atlas per analysis method, need to fix that fork point |
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.
Related to
Related to #1874 by @shnizzedy
Description
Simplifies ROI atlas ingress logic in C-PAC graph
Technical details
For a given ROI atlas, there are 6 possible places it could be used in C-PAC:
C-PAC/CPAC/resources/configs/pipeline_config_default.yml
Line 1553 in 2592247
C-PAC/CPAC/resources/configs/pipeline_config_default.yml
Line 1619 in 2592247
Before this PR, each time an ROI atlas is used, the atlas is loaded, the analysis is done, then the result is resampled to the target output resolution
--- v1.8.5 --- erDiagram TSE-Avg o|--o{ TSE-Avg-atlas : gather TSE-Avg-atlas ||--|| TSE-Avg-analysis : analyze TSE-Avg-analysis ||--|| TSE-Avg-result : resample TSE-Voxel o|--o{ TSE-Voxel-atlas : gather TSE-Voxel-atlas ||--|| TSE-Voxel-analysis : analyze TSE-Voxel-analysis ||--|| TSE-Voxel-result : resample TSE-SpatialReg o|--o{ TSE-SpatialReg-atlas : gather TSE-SpatialReg-atlas ||--|| TSE-SpatialReg-analysis : analyze TSE-SpatialReg-analysis ||--|| TSE-SpatialReg-result : resample SCA-Avg o|--o{ SCA-Avg-atlas : gather SCA-Avg-atlas ||--|| SCA-Avg-analysis : analyze SCA-Avg-analysis ||--|| SCA-Avg-result : resample SCA-DualReg o|--o{ SCA-DualReg-atlas : gather SCA-DualReg-atlas ||--|| SCA-DualReg-analysis : analyze SCA-DualReg-analysis ||--|| SCA-DualReg-result : resample SCA-MultReg o|--o{ SCA-MultReg-atlas : gather SCA-MultReg-atlas ||--|| SCA-MultReg-analysis : analyze SCA-MultReg-analysis ||--|| SCA-MultReg-result : resampleThis PR moves the gathering and resampling to early in the pipeline, so each atlas is gathered and resampled once, at the beginning of the pipeline, and the analyses don't get done at an unnecessarily high resolution.
Tests
Screenshots
Checklist
Update index.md).develop-1.8.6branch of the repository.Developer Certificate of Origin
Developer Certificate of Origin