I am using the infer_cell_types function in pegasus to annotate cell types within an AnnData object generated by Scanpy. This works fine for some objects, but for others the de_analysis function fails with the following error:
ValueError: Buffer dtype mismatch, expected 'const float' but got 'double'
I am using the infer_cell_types function in pegasus to annotate cell types within an AnnData object generated by Scanpy. This works fine for some objects, but for others the de_analysis function fails with the following error:
ValueError: Buffer dtype mismatch, expected 'const float' but got 'double'
I have provided a testcase (conda yaml environment file, test script, and anndata object) that reproduces this error at: https://vanbah01.u.hpc.mssm.edu/pegasus-testcase_2024-07-31.tar.gz
Any help in resolving this issue would be much appreciated!