Skip to content

Commit

Permalink
remove predicate filtering by sub/obj domain/range
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed May 17, 2024
1 parent dd536a7 commit 1f2a600
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ export default function PredicateSelector({ id }) {
return null;
}

return biolink.predicates.filter(
(p) => subjectNodeCategoryHierarchy.includes(p.domain) &&
objectNodeCategoryHierarchy.includes(p.range),
).map((p) => p.predicate);
return biolink.predicates.map(({ predicate }) => predicate);
}

const filteredPredicateList = useMemo(
Expand Down

0 comments on commit 1f2a600

Please sign in to comment.