Closed akhst7 closed 2 years ago
Hey @akhst7 !
Python anndata doesn't recognize the '~' character. If you use the full path, it should recognise it. Maybe I should do some substitution on the file path so it behaves more like what R users are used to.
Does this solve your problem?
Robrecht
I quickly added some path normalisation. Can you install the development version of anndata to see if this resolves your issue? → remotes::install_github("dynverse/anndata@main")
@rcannood,
The new developmental version fixed the issue. A full path to the file still works but '~" worked in the previous version of reticulate and anndata. Weird.
Anyway, Thanks for a quick fix.
Hi,
I first run following Iines to setup python env;
Then, I run anndata as follows;
library(anndata) adata<-read_h5ad("~/Desktop/adata.h5ad")
and I get a following error message;
This happens regardless of file location.
Any workaround for this ?
Thanks.