Skip to content

Commit 31dd8c9

Browse files
committed
Remove unused imports from crop_dataset.py
1 parent 697119b commit 31dd8c9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/virtual_stain_flow/datasets/crop_dataset.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
from typing import Any, Dict, List, Sequence, Optional, Tuple, Union
66

77
import pandas as pd
8-
import numpy as np
9-
10-
from virtual_stain_flow.datasets.ds_engine.manifest import DatasetManifest
118

129
from .base_dataset import BaseImageDataset
1310
from .ds_engine.crop_manifest import CropManifest, CropFileState, Crop
@@ -80,16 +77,10 @@ def pil_image_mode(self) -> str:
8077
def file_index(self) -> pd.DataFrame:
8178
return self.manifest.file_index
8279

83-
# ----
84-
# Property(ies) specific to CropImageDataset
85-
# ----
8680
@property
8781
def crop_info(self) -> Optional[Crop]:
8882
return self.file_state.crop_info
8983

90-
# ----
91-
# Serialization methods
92-
# ----
9384
def to_config(self) -> Dict[str, Any]:
9485
"""
9586
Serialize to dict.

0 commit comments

Comments
 (0)