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

scigraph_client bug in Graph.getEdges #5

Closed
tgbugs opened this issue Jul 13, 2016 · 1 comment
Closed

scigraph_client bug in Graph.getEdges #5

tgbugs opened this issue Jul 13, 2016 · 1 comment

Comments

@tgbugs
Copy link
Owner

tgbugs commented Jul 13, 2016

pyontutils/scigraph_client.py in <dictcomp>(.0)
    126 
    127         kwargs = {'type':type, 'entail':entail, 'limit':limit, 'skip':skip, 'callback':callback}
--> 128         kwargs = {k:dumps(v) if type(v) is dict else v for k, v in kwargs.items()}
    129         param_rest = self._make_rest('type', **kwargs)
    130         url = self._basePath + ('/graph/edges/{type}').format(**kwargs)

TypeError: 'str' object is not callable
@tgbugs
Copy link
Owner Author

tgbugs commented Aug 19, 2016

This is because we reassign the builtin type in the method constructor to whatever is passed in to the variable type.

@tgbugs tgbugs closed this as completed in fe7e542 Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant