-
Notifications
You must be signed in to change notification settings - Fork 24
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
cellxgene-schema CLI must update validation for obs['is_primary_data'] #834
Comments
@brianraymor @brian-mott for validation of obs columns that depend on spatial metadata like this--do we need to account for datasets having both spatial and non-spatial assay rows? Would that scenario ever happen? If so, should |
No. The use of |
Yes, I can see the gap in the current documentation & think we can close that by enforcement in assay_ontology_term_id. If any observation is assay:Visium then all must be assay:Visium. If any observation is assay:Slide-seqV2 then all must be assay:Slide-seqV2. |
@nayib-jose-gloria - tracking in #871 - will create a matching CLI issue when the schema is updated. |
Design
See is_primary_data.
The new requirement is:
This MUST be
False
ifuns['spatial']['is_single']
isFalse
.is_primary_data
bool
. This MUST beFalse
ifuns['spatial']['is_single']
isFalse
. This MUST beTrue
if this is the canonical instance of this cellular observation andFalse
if not. This is commonlyFalse
for meta-analyses reusing data or for secondary views of data.The text was updated successfully, but these errors were encountered: