Skip to content

Commit 6c24620

Browse files
committed
fix precommit np.float_
1 parent e381350 commit 6c24620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/mcmicro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _create_anndata(
258258
obs=table.drop(columns=var + coords),
259259
var=markers,
260260
obsm={"spatial": table[coords].to_numpy()},
261-
dtype=np.float_,
261+
dtype=float,
262262
)
263263
adata.obs["region"] = pd.Categorical([region_value] * len(adata))
264264
return adata, region_value

0 commit comments

Comments
 (0)