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

only warn if there are too many labels in simulations #901

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

jashapiro
Copy link
Member

I don't know why this didn't come up before, but it is possible that we will end up with more cell type labels than we want to simulate, and we probably shouldn't die in that case. A warning will do.

This does present some possible downstream conditions where a module might try to use a label that is not present in the data and fails in testing, but that seems like a rare case, and probably is going to create other problems for using the simulated data as well.

@jashapiro jashapiro requested a review from sjspielman November 19, 2024 18:43
Copy link
Member

@sjspielman sjspielman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably is going to create other problems for using the simulated data as well.

🎢

@jashapiro jashapiro merged commit 714282f into AlexsLemonade:main Nov 19, 2024
2 checks passed
@jashapiro jashapiro deleted the jashapiro/too-many-labels branch November 19, 2024 19:28
jashapiro added a commit to AlexsLemonade/OpenScPCA-nf that referenced this pull request Nov 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants