We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write_zarr_array
Hi,
When running this code
library(Rarr) image <- array(as.double(rnorm(3*50*50)),dim = c(3,50,50)) Rarr::write_zarr_array(image, zarr_array_path = "new.zarr", chunk_dim = dim(image))
it seems to write to a file named "new.zarrnew.zarr" . Potential bug?
"new.zarrnew.zarr"
The text was updated successfully, but these errors were encountered:
writeImage
In .normalize_array_path, normalizePath doesn't normalize the path of a file/dir that doesnt exist, hence root and path are duplicates of each other.
.normalize_array_path
normalizePath
root
path
> path <- "new.zarr" > dir.exists("new.zarr") | file.exists(path) [1] FALSE > path <- normalizePath(path, winslash = "/", mustWork = FALSE) > path [1] "new.zarr" > gsub(x = path, "(^[[:alnum:]:.]*/)(.*)", replacement = "\\1") [1] "new.zarr" > gsub(x = path, "(^[[:alnum:]:.]*/)(.*)", replacement = "\\2") [1] "new.zarr"
Sorry, something went wrong.
No branches or pull requests
Hi,
When running this code
it seems to write to a file named
"new.zarrnew.zarr"
. Potential bug?The text was updated successfully, but these errors were encountered: