Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTX-KG2 returning a 404 #1779

Closed
finnagin opened this issue Jan 28, 2022 · 6 comments
Closed

RTX-KG2 returning a 404 #1779

finnagin opened this issue Jan 28, 2022 · 6 comments
Assignees
Labels

Comments

@finnagin
Copy link
Member

When I ran the following query through https://arax.ncats.io/beta it completed successfully since it got results from BTE but the RTX-KG2 part gave a 404 error. Any thoughts as to why that might be @amykglen ?

{
    "workflow": [
            {
                "id": "lookup"
            },
            {
                "id": "overlay_connect_knodes"
            },
            {
                "id": "score"
            },
            {
                "id": "sort_results_score",
                "parameters": {
                     "ascending_or_descending": "descending"
                }
            }
    ],
    "message": {
        "query_graph": {
            "edges": {
                "e00": {
                    "subject": "n00",
                    "object": "n01",
                    "predicates": [
                        "biolink:treats"
                    ]
                }
            },
            "nodes": {
                "n00": {
                    "categories": [
                        "biolink:Procedure"
                    ]
                },
                "n01": {
                    "categories": [
                        "biolink:Disease"
                    ],
                    "ids": [
                        "MONDO:0005129"
                    ]
                }
            }
        }
    }
}
@finnagin
Copy link
Member Author

finnagin commented Jan 28, 2022

Looks like the query without the workflow stuff also returns a 404 from RTX-KG2:

{
    "message": {
        "query_graph": {
            "edges": {
                "e00": {
                    "subject": "n00",
                    "object": "n01",
                    "predicates": [
                        "biolink:treats"
                    ]
                }
            },
            "nodes": {
                "n00": {
                    "categories": [
                        "biolink:Procedure"
                    ]
                },
                "n01": {
                    "categories": [
                        "biolink:Disease"
                    ],
                    "ids": [
                        "MONDO:0005129"
                    ]
                }
            }
        }
    }
}

@finnagin
Copy link
Member Author

image

@edeutsch
Copy link
Collaborator

I probably broke it

@edeutsch
Copy link
Collaborator

yes, botched rollout, sorry. Updating the schema is such a pain.
I think I have fixed now. Test again?

@finnagin
Copy link
Member Author

Will do, one sec.

@finnagin
Copy link
Member Author

Yup that fixed it. Thanks @edeutsch !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants