-
Notifications
You must be signed in to change notification settings - Fork 7
121 feature non atlas centric preprocessing pipeline #139
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
Merged
neuronflow
merged 33 commits into
main
from
121-feature-non-atlas-centric-preprocessing-pipeline
Jul 17, 2025
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
e79de84
Move bet and deface back to modality to support non atlas centric pip…
MarcelRosier fad39c6
Create preprocessor baseclass and atlas/ native centric classes
MarcelRosier 2c9fb77
Adapt and add example
MarcelRosier e83a3da
Adapt test to new naming
MarcelRosier d542c8b
Generalize example
MarcelRosier de3d33a
Improve docstrings and formatting
MarcelRosier e93e5f8
Merge branch 'main' into 121-feature-non-atlas-centric-preprocessing-…
MarcelRosier e1da9ab
Fix isinstance check
MarcelRosier b75e02a
Move bet method back to center modality
MarcelRosier 7f7c625
Move run bet up to base class
MarcelRosier ebf034a
Update examples
MarcelRosier 295f305
Add option to force atlas reg in quickshear defacing
MarcelRosier 54ea78c
Cleanup import
MarcelRosier 26f39a6
Make atlas reg during defacing optional
MarcelRosier c64d117
Generalize hardcoded paths
MarcelRosier 8c18b29
Merge branch 'main' into 121-feature-non-atlas-centric-preprocessing-…
neuronflow e792e44
Merge branch 'main' into 121-feature-non-atlas-centric-preprocessing-…
MarcelRosier 3470a89
Move force atlas reg option to quickshear class
MarcelRosier 862ce8b
Improve docstring
MarcelRosier c335375
Generalize to use any registrator for deface atlas reg
MarcelRosier aba0d9b
Fix wrong parameter
MarcelRosier 2e7cd7a
Rm legacy parameter
MarcelRosier f85ad5f
Unify inverse_transform interface
MarcelRosier 7caf251
Merge branch '121-feature-non-atlas-centric-preprocessing-pipeline' o…
MarcelRosier db5ac99
Merge branch 'main' into 121-feature-non-atlas-centric-preprocessing-…
neuronflow 674f86c
Add validation that input for defacing exists
MarcelRosier 5940d70
Add option to specific atlas for deface registration
MarcelRosier cfe0ec6
Cleanup imports and fix docstring
MarcelRosier 7d1c4d3
Remove unused imports
MarcelRosier 9444341
Update brainles_preprocessing/modality.py
neuronflow 8527153
Change misleading outputdir name
MarcelRosier 2bc0f3b
Merge branch '121-feature-non-atlas-centric-preprocessing-pipeline' o…
MarcelRosier b1ce517
Autoformat with black
brainless-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import warnings | ||
| from .atlas_centric_preprocessor import AtlasCentricPreprocessor | ||
| from .native_space_preprocessor import NativeSpacePreprocessor | ||
|
|
||
|
|
||
| # Deprecation warning for Preprocessor alias, added to ensure backward compatibility. | ||
| class Preprocessor(AtlasCentricPreprocessor): | ||
| def __init__(self, *args, **kwargs): | ||
| warnings.warn( | ||
| "Preprocessor has been renamed to AtlasCentricPreprocessor and is deprecated." | ||
| "The alias will be removed in future releases, please migrate to AtlasCentricPreprocessor.", | ||
| DeprecationWarning, | ||
| stacklevel=2, | ||
| ) | ||
| super().__init__(*args, **kwargs) |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.