Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
LLehner committed Oct 8, 2024
1 parent bc38737 commit 342375c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/squidpy/gr/_ppatterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def extract_obsm(adata: AnnData, ixs: int | Sequence[int] | None) -> tuple[NDArr
with np.errstate(divide="ignore"):
pval_results = _p_value_calc(score, score_perms, g, params)

data_dict: dict[str, Any] = {params["stat"]: score, **pval_results}
data_dict: dict[str, Any] = {str(params["stat"]): score, **pval_results}
df = pd.DataFrame(data_dict, index=index)

if corr_method is not None:
Expand Down

0 comments on commit 342375c

Please sign in to comment.