Skip to content

raise subject entity produces errors when it should not #73

@cbizon

Description

@cbizon

e.g. in automat-robokop, this test data:

(SequenceVariant)--[is_nearby_variant_of]->(Protein)
(CAID:CA15942114)--[biolink:is_nearby_variant_of]->(NCBIGene:1)

Generates an error in raise_subject_entity:

🚫 trapi.request.invalid
context: raise_subject_entity() test predicate CAID:CA15942114[biolink:SequenceVariant]
reason: has no 'is_a' parent since it is either not an ontology term or does not map onto a parent ontology term.

I don't think this should be an error. Not everything has a superclass, but that doesn't make it an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions