Skip to content

Commit

Permalink
Fix import from earlier anndata
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Jan 28, 2025
1 parent 4a7ed8f commit d9889db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def validate_X_layers_presence(

def _read_var_names(path: str) -> npt.NDArray[np.object_]:
import h5py
from anndata.io import read_elem
from anndata.experimental import read_elem

with h5py.File(path) as f:
index_key = f["var"].attrs["_index"]
Expand Down

0 comments on commit d9889db

Please sign in to comment.