Skip to content

Commit

Permalink
refactor: remove commented out code
Browse files Browse the repository at this point in the history
It is recommended to remove any commented code in your codebase.
  • Loading branch information
deepsource-autofix[bot] authored Mar 29, 2024
1 parent bede808 commit 59c409c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions hsf/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import ants
import hydra
import torch
# from hydra import compose, initialize
from omegaconf import DictConfig
from rich.logging import RichHandler
from roiloc.locator import RoiLocator
Expand All @@ -28,8 +27,6 @@

log = logging.getLogger(__name__)

# initialize(config_path="hsf/conf")
# cfg = compose(config_name="config")


def get_lr_hippocampi(mri: PosixPath, cfg: DictConfig) -> tuple:
Expand Down
1 change: 0 additions & 1 deletion hsf/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def mri_to_subject(mri: PosixPath) -> tio.Subject:
subject = tio.Subject(mri=tio.ScalarImage(mri))

preprocessing_pipeline = tio.Compose([
# tio.ToCanonical(),
tio.ZNormalization(),
tio.EnsureShapeMultiple(8),
])
Expand Down

0 comments on commit 59c409c

Please sign in to comment.