Skip to content

Conversation

@DerekFurstPitt
Copy link
Contributor

added a new validator to check whether dataset direct ancestors are only datasets, publications, and samples. Organ samples not allowed

…th the existing one to return superclasses. Reworked validator to do all validation inside a single neo4j query rather than iteating through a python loop.
from schema import schema_neo4j_queries
from schema.schema_constants import SchemaConstants
from hubmap_commons import hm_auth
from app_neo4j_queries import get_entities_by_uuid
Copy link
Member

Choose a reason for hiding this comment

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

@DerekFurstPitt Do we still need this import with your new implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yuanzhou No we don't, good catch. Just pushed an update

@yuanzhou yuanzhou merged commit f120405 into dev-integrate Nov 24, 2025
4 checks passed
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.

3 participants