MCPcopy Create free account
hub / github.com/SingleRust/SingleRust / read_h5ad_memory

Function read_h5ad_memory

src/io/mod.rs:28–31  ·  view source on GitHub ↗
(path_to_file: P)

Source from the content-addressed store, hash-verified

26}
27
28pub fn read_h5ad_memory<P: AsRef<Path>>(path_to_file: P) -> anyhow::Result<IMAnnData> {
29 let adata = read_h5ad(path_to_file, FileScope::Read, false)?;
30 convert_to_in_memory(adata)
31}
32
33pub fn read_h5ad_fast_memory<P: AsRef<Path>>(path_to_file: P) -> anyhow::Result<IMAnnData> {
34 anndata_memory::load_h5ad_fast(path_to_file)

Callers

nothing calls this directly

Calls 1

read_h5adFunction · 0.85

Tested by

no test coverage detected