Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
edyoshikun committed Sep 27, 2024
1 parent bf1c4fc commit 85787be
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions viscy/data/hcs_ram.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
import logging
import math
import os
import re
import tempfile
from pathlib import Path
from typing import Callable, Literal, Sequence

import numpy as np
import torch
import zarr
from imageio import imread
from iohub.ngff import ImageArray, Plate, Position, open_ome_zarr
from iohub.ngff import Position, open_ome_zarr
from lightning.pytorch import LightningDataModule
from monai.data import set_track_meta
from monai.data.utils import collate_meta_tensor
from monai.transforms import (
CenterSpatialCropd,
Compose,
MapTransform,
MultiSampleTrait,
RandAffined,
)
from torch import Tensor
from torch.utils.data import DataLoader, Dataset

from viscy.data.typing import ChannelMap, DictTransform, HCSStackIndex, NormMeta, Sample
from viscy.data.hcs import _read_norm_meta
from tqdm import tqdm
from viscy.data.typing import ChannelMap, DictTransform, Sample

_logger = logging.getLogger("lightning.pytorch")

Expand Down

0 comments on commit 85787be

Please sign in to comment.