Closed rcannood closed 6 months ago
Is the schema.md file somehow automatically generated from the schema_definition.yaml file?
Hi @rcannood,
I'm the editor for the schema. It's not automagically generated.
Reviewed in small group. Closing.
The schema is focused on minimal normative requirements for a primary audience of the curation and engineering teams.
For these audiences, more non-normative descriptive text is not helpful. It increases review time and introduces the potential for extended bikeshedding descriptions based on varying opinions.
Motivation
I'm working on aligning the data formats used in OpenProblems to that of the CELLxGENE census corpus, because it will allow us to pull a lot of datasets directly from cellxgene census. I'm working on adding some documentation for my code and the schema of the datasets we use in this project, but it seems like the CELLxGENE schema specified in this repo doesn't contain a very descriptive description for each of the keys in the schema.
For instance, for
cell_type_ontology_term_id
, the schema contains:And for
cell_type
:Definition of Done
Add a description to each of the elements in the schema.md file.
For example:
cell_type_ontology_term_id
: "categorical withstr
categories. Classification of the cell type based on its characteristics and function within the tissue or organism. This MUST be a Cell Ontology (CL:
) term."cell_type
: "categorical withstr
categories. Classification of the cell type based on its characteristics and function within the tissue or organism. This MUST be the human-readable name assigned to the value ofcell_type_ontology_term_id
. "Is the
schema.md
file somehow automatically generated from theschema_definition.yaml
file? I looked through the code but couldn't immediately find a script to do this.Tasks
Detail the specific tasks that can be used to accomplish the desired changes. If detailed steps cannot be provided at this time, please file a Tech Proposal instead.
schema_definition.yaml
file. This would allow generating theschema.md
file from theschema_definition.yaml
if this is not already the case.If it helps, I'm more than happy to create a PR with proposed changes to the
schema.md
/schema_definition.yaml
files.