Skip to content

Commit

Permalink
Fix isinstance arg 2 must be a type error (scverse#2209)
Browse files Browse the repository at this point in the history
* Fix isinstance arg 2 must be a type error

* fix markdown

* Use dummy class

Co-authored-by: Isaac Virshup <[email protected]>
  • Loading branch information
rcannood and ivirshup authored Apr 5, 2022
1 parent 05381a3 commit 14d65b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/release-notes/1.9.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
```{rubric} Bug fixes
```

- {func}`~scanpy.pp.normalize_total` works when Dask is not installed {pr}`2209` {smaller}`R Cannoodt`

```{rubric} Ecosystem
```
5 changes: 4 additions & 1 deletion scanpy/preprocessing/_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
try:
from dask.array import Array as DaskArray
except ImportError:
DaskArray = None

class DaskArray:
pass


from scanpy import logging as logg
from scanpy._compat import Literal
Expand Down

0 comments on commit 14d65b4

Please sign in to comment.