Skip to content
Snippets Groups Projects
Commit 4e72b4de authored by Jean-Karim Heriche's avatar Jean-Karim Heriche
Browse files

Define slice.def for all cases, not just 3d.

parent 2889b4b5
No related branches found
Tags v1.5.7
No related merge requests found
Pipeline #62492 passed
......@@ -49,6 +49,9 @@ explore_gallery_server <-function(input, output, session, rv, session_parent){
imgPaths <- imgPaths[sample.idx]
}
slice.def <- list()
for(i in 1:nrow(dtmp)) {
slice.def[[i]] <- list()
}
img.metadata <- list()
if(class(rv$imgRoot)[1] == "s3_bucket"){ # Images are in a S3 bucket
file.list <- c()
......@@ -72,7 +75,6 @@ explore_gallery_server <-function(input, output, session, rv, session_parent){
}
## Slice definition for each image
for(i in 1:nrow(dtmp)) {
slice.def[[i]] <- list()
slice.def[[i]][[frameName]] = rv$selectedFrame[i]
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment