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

Check Centroid Condition for AnnData and cells.json #61

Open
ilan-gold opened this issue May 8, 2021 · 0 comments
Open

Check Centroid Condition for AnnData and cells.json #61

ilan-gold opened this issue May 8, 2021 · 0 comments

Comments

@ilan-gold
Copy link
Collaborator

Right now, I believe the xy part of the cells.json (which is created from AnnData loaders and validated) needs to be part of the data because it is used for getting cell coordinates i.e the centroid needs to be included. We should thus throw an error on the AnnData loader if the polygons (i.e poly in the cells.json schema) are passed in but the centroids (xy in that lingo) are not:

https://github.com/vitessce/vitessce-python/blob/master/vitessce/wrappers.py#L365

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

No branches or pull requests

2 participants