Knowledge-Graph-Hub / sri-reference-kg

Repo for generating the SRI Reference KG
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Failing onehop tests #1

Open cbizon opened 3 years ago

cbizon commented 3 years ago

For this query:

{
    "message": {
        "query_graph": {
            "nodes": {
                "a": {
                    "categories": [
                        "biolink:Gene"
                    ],
                    "ids": [
                        "ENSEMBL:ENSG00000175344"
                    ]
                },
                "b": {
                    "categories": [
                        "biolink:BiologicalProcess"
                    ]
                }
            },
            "edges": {
                "ab": {
                    "subject": "a",
                    "object": "b",
                    "predicates": [
                        "biolink:actively_involved_in"
                    ]
                }
            }
        },
        "knowledge_graph": {
            "nodes": {},
            "edges": {}
        },
        "results": []
    }
}

I am getting a response that is invalid trapi. The validation error contains this:

'required': ['attribute_type_id', 'value'],
     'type': 'object'}

On instance[0]:
    {'name': 'iri',
     'type': 'NA',
     'value': 'http://purl.obolibrary.org/obo/GO_0051247'}

This may be a manifestation of the same thing as https://github.com/RENCI-AUTOMAT/Automat-server/issues/15

cbizon commented 3 years ago

Attn: @kshefchek @YaphetKG

cbizon commented 3 years ago

@kshefchek there is a new version of Plater (I think) should fix this.

kshefchek commented 3 years ago

i've updated to the latest plater, let me know if this doesn't fix the tests