Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mt.datasets.simulate_data generates wrong categories #636

Closed
giovp opened this issue Dec 11, 2023 · 2 comments
Closed

mt.datasets.simulate_data generates wrong categories #636

giovp opened this issue Dec 11, 2023 · 2 comments
Assignees

Comments

@giovp
Copy link
Member

giovp commented Dec 11, 2023

generates categories but not numerical, and can't be used in the e.g. temporal problem. I would switch to simulate data to numeric categorical

TypeError: Expected `adata.obs['batch']` to be categorical with numeric categories, found `categorical`.
@MUCDK
Copy link
Collaborator

MUCDK commented Dec 11, 2023

Can you check if batch_key (or similar argument ) is time or day, the dtype is correct?

@MUCDK
Copy link
Collaborator

MUCDK commented Dec 11, 2023

But yes, simulate_data needs some cleaning + extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants