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

52-feature-request-clean-the-normalization-and-brain-extraction-in-the-run-method #53

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nicer typing
Signed-off-by: neuronflow <florian.kofler@tum.de>
  • Loading branch information
neuronflow committed Dec 22, 2023
commit a92d6aa1a0a8d8454f809bd94de1b33ca59bf0fc
3 changes: 2 additions & 1 deletion brainles_preprocessing/modality.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import shutil
from typing import List, Optional

from auxiliary.nifti.io import read_nifti, write_nifti
from auxiliary.normalization.normalizer_base import Normalizer
@@ -44,7 +45,7 @@ def __init__(
output_path: str,
bet: bool,
atlas_correction: bool = True,
normalizer: Normalizer | None = None,
normalizer: Optional[Normalizer] = None,
) -> None:
self.modality_name = modality_name
self.input_path = turbopath(input_path)