Sometimes it doesn't make sense to check the ontology object's ID against the name and the name is intentionally different from what is stored online (this is for fields like annotation_object, cell_type, cell_component, tissue, cell_strain, etc.). With this PR, a new attribute can now be specified pydantic__no_name_validation (alongside the name and id attributes in the config file) to stop the Pydantic extended network validation from doing this check and throwing an error.
To be PR'd after #140.
Sometimes it doesn't make sense to check the ontology object's ID against the name and the name is intentionally different from what is stored online (this is for fields like annotation_object, cell_type, cell_component, tissue, cell_strain, etc.). With this PR, a new attribute can now be specified
pydantic__no_name_validation
(alongside thename
andid
attributes in the config file) to stop the Pydantic extended network validation from doing this check and throwing an error.