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

weight correctness throws 500 #31

Open
cbizon opened this issue Jul 28, 2021 · 0 comments
Open

weight correctness throws 500 #31

cbizon opened this issue Jul 28, 2021 · 0 comments

Comments

@cbizon
Copy link
Contributor

cbizon commented Jul 28, 2021

With aragorn as a wf engine, I can call score w/o running omnicorp and it creates a 500. I would expect it to do something more sensible.

This errors:

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "ids": [
                        "NCBIGene:6611"
                    ],
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n1": {
                    "categories": [
                        "biolink:ChemicalSubstance"
                    ]
                }
            },
            "edges": {
                "e01": {
                    "subject": "n0",
                    "object": "n1"
                }
            }
        }
    },
    "log_level": "DEBUG",
    "workflow": [
        "lookup",
        "score"
    ]
}

But replacing workflow with:

"workflow": [
        "lookup",
        "connect_knodes",
        "score"
    ]

succeeds.

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

No branches or pull requests

1 participant