Skip to content

sandbox diverged from biocOSN ? #9

@Artur-man

Description

@Artur-man

We have two sources now. CC @LucaMarconato

build_osn_xdemo_path <- function(zipname) {
sprintf("https://mghp.osn.xsede.org/bir190004-bucket01/BiocXenDemo/%s", zipname)
}
build_sandbox_path <- function(zipname) {
sprintf("https://s3.embl.de/spatialdata/spatialdata-sandbox/%s", zipname)
}

which seem to have different versions of the same datasets since sandbox versions are throwing an error when an old version of spatialdata-io is being used.

dem <- SpatialData.data:::.unzip_spd_demo(
zipname="mibitof.zip",
cache=BiocFileCache::BiocFileCache(),
destination=tf,
source="sandbox")
grab <- readSpatialData(dem)

> dem <- SpatialData.data:::.unzip_spd_demo(
+     zipname="mibitof.zip",
+     cache=BiocFileCache::BiocFileCache(),
+     destination=tf,
+     source="sandbox")
retrieving from sandbox, caching, and returning path

> grab <- readSpatialData(dem)
Error in py_call_impl(callable, call_args$unnamed, call_args$named) : 
  KeyError: '0.2'
Run `reticulate::py_last_error()` for details.

However BiocOSN works fine.

> dem <- SpatialData.data:::.unzip_spd_demo(
...
+     source="biocOSN")
retrieving from biocOSN, caching, and returning path
> readSpatialData(dem)
class: SpatialData
- images(3):
  - point16_image (3,1024,1024)
  - point23_image (3,1024,1024)
  - point8_image (3,1024,1024)
- labels(3):
  - point16_labels (1024,1024)
  - point23_labels (1024,1024)
  - point8_labels (1024,1024)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions