Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address deprecated way of initializing AnnData in _scrublet.py
While running SnapAtac2 notebooks the following warning was fairly frequently encountered when running `snap.pp.scrublet()`: ``` /usr/local/lib/python3.11/site-packages/anndata/_core/anndata.py:522: FutureWarning: The dtype argument is deprecated and will be removed in late 2024. ``` It looks like the `anndata` project plans to deprecate and completely remove the `dtype` argument to `AnnData` instantiation somewhat soon. See: scverse/anndata@85162c7 See also: scverse/anndata#1126 This commit removes the `dtype` argument from `AnnData` instantiation as it will be removed in future versions of `AnnData`.
- Loading branch information