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

exception when no steps #101

Closed
ranigb opened this issue Jul 3, 2021 · 0 comments · Fixed by #121
Closed

exception when no steps #101

ranigb opened this issue Jul 3, 2021 · 0 comments · Fixed by #121

Comments

@ranigb
Copy link
Contributor

ranigb commented Jul 3, 2021

When executing a student code if no values are tracked an exception is thrown when computing the number of steps:

File "pybryt/execution/init.py", line 94, in execute_notebook
n_steps = max([t[1] for t in observed])
ValueError: max() arg is an empty sequence

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

Successfully merging a pull request may close this issue.

1 participant