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

networkx decorator changed #124

Closed
CharJon opened this issue Dec 6, 2021 · 2 comments
Closed

networkx decorator changed #124

CharJon opened this issue Dec 6, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@CharJon
Copy link
Owner

CharJon commented Dec 6, 2021

Networkx decorator changed. This causes
`networkx.exception.NetworkXError: index -1 not a parameter index and this function doesn't have args

../../miniconda3/envs/geco2/lib/python3.8/site-packages/networkx/utils/decorators.py:1029: NetworkXError`
and needs to be fixed.

@CharJon CharJon added the bug Something isn't working label Dec 6, 2021
@CharJon
Copy link
Owner Author

CharJon commented Dec 6, 2021

Instead of using the position of the seed parameter like @py_random_state(-1) we need to use its name e.g. @py_random_state("seed")

@CharJon
Copy link
Owner Author

CharJon commented Dec 8, 2021

Done

@CharJon CharJon closed this as completed Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant