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

Handle render recursion when the function wasn't called #11

Open
AndreasArne opened this issue Mar 3, 2021 · 0 comments
Open

Handle render recursion when the function wasn't called #11

AndreasArne opened this issue Mar 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@AndreasArne
Copy link
Owner

@recursion_viz
def a_func():
    a_func()
recursion_to_png("a_func")
# index out of range error

If the decorated function isn't called before trying to render it. We get an IndexError.

Check that function was called and if not give indication about it.

@AndreasArne AndreasArne added the enhancement New feature or request label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant