Skip to content

Commit 2094f8e

Browse files
committed
repair atomic class
1 parent 89a591f commit 2094f8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/read.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ read_data <- function(drfile, guide, checkname = FALSE) {
252252
rlang::abort(glue::glue("Unsupported location type: {location$type}"))
253253
)
254254

255-
atomicclass <- location$atomicclass %||% "character"
255+
atomicclass <- if (!is.null(location$atomicclass)) location$atomicclass else "character"
256256

257257
# Read data using the appropriate function
258258
chunk <- if (location$type == "cells") {

0 commit comments

Comments
 (0)