Skip to content

Commit

Permalink
Merge pull request #277 from sennetconsortium/libpitt/263-superclass
Browse files Browse the repository at this point in the history
Reverting ontology change
  • Loading branch information
maxsibilla authored Jan 30, 2024
2 parents a032ad3 + 866c28d commit 20bd6d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/constraints/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ def build_all_dataset_constraints(entity):
# Dataset, Publication ---> Dataset
ancestor = build_constraint_unit(entity)
descendant = build_constraint_unit(entity)
# TODO: Need to set this to just be PUBLICATION eventually but UBKG has this as publication_entity now
descendant2 = build_constraint_unit(Ontology.ops().entities().PUBLICATION_ENTITY)
descendant2 = build_constraint_unit(Ontology.ops().entities().PUBLICATION)
return [
build_constraint(ancestor, [descendant, descendant2])
]
Expand Down

0 comments on commit 20bd6d6

Please sign in to comment.