Handle reading empty H5AD slots
Opened this issue · 2 comments
lazappi commented
Reading currently fails if a slot is not set in the .h5ad
file
rcannood commented
Can you post a minimal reproducible example? ;)
LouiseDck commented
e.g. when reading in a file with only a .X:
Error in private$.validate_layers(value) :
'layers' must must be a named list
In addition: Warning messages:
1: In private$.validate_obsvar_dataframe(value, "obs") :
'obs' should not have any rownames, removing them from the data frame.
2: In private$.validate_obsvar_dataframe(value, "var") :
'var' should not have any rownames, removing them from the data frame.``