Skip to content

Commit

Permalink
🎨 update type hints, remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Jul 12, 2024
1 parent 05c1735 commit c5002cd
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/move/tasks/identify_associations.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import numpy as np
import pandas as pd
import torch
import torch.multiprocessing
from omegaconf import OmegaConf
from scipy.stats import ks_2samp, pearsonr # type: ignore
from torch.utils.data import DataLoader
Expand Down Expand Up @@ -79,11 +78,7 @@ def prepare_for_categorical_perturbation(
config: MOVEConfig,
interim_path: Path,
baseline_dataloader: DataLoader,
) -> tuple[
list[DataLoader],
BoolArray,
BoolArray,
]:
) -> list[DataLoader]:
"""
This function creates the required dataloaders and masks
for further categorical association analysis.
Expand Down Expand Up @@ -125,11 +120,7 @@ def prepare_for_continuous_perturbation(
config: MOVEConfig,
output_subpath: Path,
baseline_dataloader: DataLoader,
) -> tuple[
list[DataLoader],
BoolArray,
BoolArray,
]:
) -> list[DataLoader]:
"""
This function creates the required dataloaders and masks
for further continuous association analysis.
Expand Down

0 comments on commit c5002cd

Please sign in to comment.