-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We have two sources now. CC @LucaMarconato
SpatialData.data/R/merfish_demo.R
Lines 9 to 15 in 74c519b
| 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.
SpatialData.data/tests/testthat/test-caching.R
Lines 59 to 64 in 74c519b
| 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)
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels