Skip to content

Commit 3dd1cd9

Browse files
committed
adjusted logger import
1 parent 5eac22c commit 3dd1cd9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/spatialdata_io/converters/legacy_anndata.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import logging
43
from collections.abc import Mapping
54
from typing import TYPE_CHECKING
65

@@ -13,6 +12,7 @@
1312
to_circles,
1413
)
1514
from spatialdata._core.operations._utils import transform_to_data_extent
15+
from spatialdata._logging import logger
1616
from spatialdata.models import Image2DModel, ShapesModel, TableModel, get_table_keys
1717
from spatialdata.transformations import Identity, Scale
1818

@@ -240,7 +240,6 @@ def from_legacy_anndata(adata: AnnData) -> SpatialData:
240240
-----
241241
The SpatialData object will have one hires and one lowres image for each dataset in the AnnData object.
242242
"""
243-
logger = logging.getLogger(__name__)
244243
# AnnData keys
245244
SPATIAL = "spatial"
246245

0 commit comments

Comments
 (0)