SnapATAC2
SnapATAC2 copied to clipboard
Unexpected Abortion When Subsetting Data
Hi Kai,
I recently upgraded snapatac2 using pip install snapatac2 -U
and encountered an error when I tried to subset an anndata object using the following code: data_subset = data.subset(obs_idx, out=h5ad_filename)
The error message is:
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anndata-0.4.2/src/container/base.rs:606:88:
called `Result::unwrap()` on an `Err` value: H5Ldelete(): unable to delete link: no write intent on file
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
Do you have any suggestions on how to resolve this? Thank you!