Starlitnightly/omicverse

H should have the same dtype as X. Got H.dtype = float32.

Closed this issue · 4 comments

In cnmf it has been solved, But in omicverse its still here.

cnmf_obj.consensus(k=selected_K,
density_threshold=density_threshold,
show_clustering=True,
close_clustergram_fig=False)

add norm_tpm.X = norm_tpm.X.astype(np.float32) and norm_counts.X = norm_counts.X.astype(np.float32) can solve this problem

Hi, I can't reproduce the problem you're posing, can you give a detailed input/output case, and what is reported as an error?

Zehua

We have fixed this error in omicverse 1.6.6