Skip to content

Commit

Permalink
Merge pull request #160 from scverse/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
LucaMarconato authored Jul 3, 2024
2 parents 9985c1d + 6c24620 commit 8e2ab8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ repos:
hooks:
- id: prettier
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
additional_dependencies: [numpy, types-PyYAML]
Expand Down Expand Up @@ -59,7 +59,7 @@ repos:
- --remove-unused-variable
- --ignore-init-module-imports
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/spatialdata_io/readers/mcmicro.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _create_anndata(
obs=table.drop(columns=var + coords),
var=markers,
obsm={"spatial": table[coords].to_numpy()},
dtype=np.float_,
dtype=float,
)
adata.obs["region"] = pd.Categorical([region_value] * len(adata))
return adata, region_value

0 comments on commit 8e2ab8c

Please sign in to comment.