Skip to content

Commit

Permalink
Use "object" instead of deprecated "np.object" to satisfy numpy >= 1.…
Browse files Browse the repository at this point in the history
…24.x.

Use "object" instead of deprecated "np.object" to satisfy numpy >= 1.24.x.
  • Loading branch information
ghuls committed Jun 13, 2023
1 parent 0a90cb5 commit eaf23eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyscenic/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
("Enrichment", COLUMN_NAME_NES): np.float64,
("Enrichment", COLUMN_NAME_MOTIF_SIMILARITY_QVALUE): np.float64,
("Enrichment", COLUMN_NAME_ORTHOLOGOUS_IDENTITY): np.float64,
("Enrichment", COLUMN_NAME_ANNOTATION): np.object,
("Enrichment", COLUMN_NAME_CONTEXT): np.object,
("Enrichment", COLUMN_NAME_TARGET_GENES): np.object,
("Enrichment", COLUMN_NAME_ANNOTATION): object,
("Enrichment", COLUMN_NAME_CONTEXT): object,
("Enrichment", COLUMN_NAME_TARGET_GENES): object,
("Enrichment", COLUMN_NAME_RANK_AT_MAX): np.int64,
},
index=pd.MultiIndex.from_arrays(
Expand Down

0 comments on commit eaf23eb

Please sign in to comment.