Skip to content

Commit

Permalink
import changement
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Nov 8, 2024
1 parent 7a3a084 commit b346260
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clinicadl/predictor/predictor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from clinicadl.dataset.caps_dataset import CapsDataset
from clinicadl.dataset.datasets.caps_dataset import CapsDataset
from clinicadl.experiment_manager.experiment_manager import ExperimentManager


Expand Down
2 changes: 1 addition & 1 deletion clinicadl/splitter/kfold.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Optional

from clinicadl.dataset.caps_dataset import CapsDataset
from clinicadl.dataset.datasets.caps_dataset import CapsDataset
from clinicadl.experiment_manager.experiment_manager import ExperimentManager


Expand Down
2 changes: 1 addition & 1 deletion clinicadl/splitter/split.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path

from clinicadl.dataset.caps_dataset import CapsDataset
from clinicadl.dataset.datasets.caps_dataset import CapsDataset
from clinicadl.experiment_manager.experiment_manager import ExperimentManager
from clinicadl.splitter.kfold import Split

Expand Down
2 changes: 1 addition & 1 deletion clinicadl/trainer/tasks_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from torch.utils.data import DataLoader, Sampler, sampler
from torch.utils.data.distributed import DistributedSampler

from clinicadl.dataset.caps_dataset import CapsDataset
from clinicadl.dataset.datasets.caps_dataset import CapsDataset
from clinicadl.metrics.old_metrics.metric_module import MetricModule
from clinicadl.networks.old_network.network import Network
from clinicadl.trainer.config.train import TrainConfig
Expand Down
2 changes: 1 addition & 1 deletion clinicadl/trainer/trainer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path

from clinicadl.dataset.caps_dataset import CapsDataset
from clinicadl.dataset.datasets.caps_dataset import CapsDataset
from clinicadl.experiment_manager.experiment_manager import ExperimentManager
from clinicadl.model.clinicadl_model import ClinicaDLModel
from clinicadl.splitter.kfold import Split
Expand Down
4 changes: 4 additions & 0 deletions clinicadl/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ class ClinicaDLBIDSError(ClinicaDLException):

class ClinicaDLCAPSError(ClinicaDLException):
"""Base class for tsv files exceptions."""


class ClinicaDLConcatError(ClinicaDLException):
"""Base class for Concat Datasets exceptions."""

0 comments on commit b346260

Please sign in to comment.