File tree Expand file tree Collapse file tree
src/spatialdata_io/converters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ def from_legacy_anndata(adata: AnnData) -> SpatialData:
285285 image_key ,
286286 dataset_id ,
287287 )
288- # prefer scalefactors keyed by the image name, fall back to legacy hires/lowres names,
289- # then to tissue_<image_key>_scalef , finally default to 1.0.
288+ # prefer scalefactors keyed by the image name, fall back to tissue_<image_key>_scalef
289+ # then to legacy hires/lowres names , finally default to 1.0.
290290 scalefactor = None
291291 scalefactor_source = None
292292 if image_key in scalefactors :
@@ -311,7 +311,7 @@ def from_legacy_anndata(adata: AnnData) -> SpatialData:
311311 DEFAULT_SCALE_FACTOR ,
312312 )
313313 else :
314- logger .warning (
314+ logger .debug (
315315 "Using scalefactor '%s' for image '%s' in dataset '%s'" ,
316316 scalefactor_source ,
317317 image_key ,
You can’t perform that action at this time.
0 commit comments