Skip to content

Commit

Permalink
small bug fix (#415)
Browse files Browse the repository at this point in the history
Adding a needed underscore.
  • Loading branch information
polinabinder1 authored Nov 8, 2024
1 parent 0c923ed commit 631e5de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sub-packages/bionemo-scdl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
# bionemo sub-packages
'bionemo-core',
# external
'anndata>=0.10.7',
'anndata>=0.11.0',
'pandas>=2.2.1',
'pyarrow>=16.0.0',
'scipy>=1.11.1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def paginated_load_h5ad(
# Read the row indices into a memory map.
mode = Mode.CREATE_APPEND
self.row_index = _create_row_memmaps(num_rows, Path(self.data_path), mode, self.dtypes)
self.row_index[:] = adata.X.indptr.astype(int)
self.row_index[:] = adata.X._indptr.astype(int)

# The data from each column and data chunk of the original anndata file is read in. This is saved into the final
# location of the memmap file. In this step, it is saved in the binary file format.
Expand Down

0 comments on commit 631e5de

Please sign in to comment.