Skip to content

Commit c0043db

Browse files
authored
Merge pull request #10 from HelenaLC/zarr_path
remove dependancy to getZarrArrayPath
2 parents 0a5952b + 882126a commit c0043db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ exportMethods(rotate)
99
exportMethods(scale)
1010
exportMethods(translation)
1111
import(SpatialData)
12+
importFrom(DelayedArray,path)
1213
importFrom(DelayedArray,realize)
1314
importFrom(Rarr,zarr_overview)
1415
importFrom(S4Vectors,metadata)
1516
importFrom(SingleCellExperiment,int_colData)
1617
importFrom(SingleCellExperiment,int_metadata)
1718
importFrom(SpatialData,channels)
18-
importFrom(SpatialData,getZarrArrayPath)
1919
importFrom(dplyr,mutate)
2020
importFrom(dplyr,select)
2121
importFrom(ggforce,geom_circle)

R/plotImage.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ plotSpatialData <- \() ggplot() + scale_y_reverse() + .theme
103103
}
104104

105105
# check if an image is rgb or not
106-
#' @importFrom SpatialData getZarrArrayPath
106+
#' @importFrom DelayedArray path
107107
#' @importFrom Rarr zarr_overview
108108
#' @noRd
109109
.get_img_dt <- \(a) {
110-
pa <- getZarrArrayPath(a)
110+
pa <- DelayedArray::path(a)
111111
df <- zarr_overview(pa, as_data_frame=TRUE)
112112
if (!is.null(dt <- df$data_type)) return(dt)
113113
}

0 commit comments

Comments
 (0)