Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Jan 6, 2025
1 parent 6324250 commit 369a825
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/run_notebooks.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Run Notebooks

on:
- push
- pull_request

jobs:
Expand Down
2 changes: 1 addition & 1 deletion ehrapy/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


def _raise_array_type_not_implemented(func: Callable, type_: type) -> NotImplementedError:
return NotImplementedError(
raise NotImplementedError(
f"{func.__name__} does not support array type {type_}. Must be of type {func.registry.keys()}." # type: ignore
)

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ medcat = [
"medcat",
]
dask = [
"anndata[dask]",
"c[dask]",
"dask-ml",
]
dev = [
Expand Down Expand Up @@ -136,7 +136,8 @@ filterwarnings = [
"ignore:`flavor='seurat_v3'` expects raw count data, but non-integers were found:UserWarning",
"ignore:All-NaN slice encountered:RuntimeWarning",
"ignore:Observation names are not unique. To make them unique, call `.obs_names_make_unique`.:UserWarning",
"ignore:Trying to modify attribute .var of view"
"ignore:Trying to modify attribute `.var` of view, initializing view as actual.:anndata.ImplicitModificationWarning",
"ignore:Transforming to str index.:anndata.ImplicitModificationWarning:"
]
minversion = 6.0
norecursedirs = [ '.*', 'build', 'dist', '*.egg', 'data', '__pycache__']
Expand Down

0 comments on commit 369a825

Please sign in to comment.