File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ export default function useBiolinkModel() {
2929 */
3030 function getEdgePredicates ( ) {
3131 const newPredicates = Object . entries ( biolinkModel . slots ) . filter ( checkIfDescendantOfRelatedTo ) ;
32- // hard code in treats, it's techincally not a descendant of `related to`
32+ // hard code in treats + parent, they're techincally not descendants of `related to`
3333 // TODO: we'll want the more correct parsing using mixins at some point
3434 newPredicates . push ( [ 'treats' , biolinkModel . slots . treats ] ) ;
35+ newPredicates . push ( [ 'treats or applied or studied to treat' , biolinkModel . slots [ 'treats or applied or studied to treat' ] ] ) ;
3536 return newPredicates . map ( ( [ identifier , predicate ] ) => ( {
3637 predicate : strings . edgeFromBiolink ( identifier ) ,
3738 domain : strings . nodeFromBiolink ( predicate . domain ) ,
You can’t perform that action at this time.
0 commit comments