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

aml-intro fixes and changes #58

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

aml-intro fixes and changes #58

wants to merge 4 commits into from

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Jul 13, 2024

Changes for the aml-intro course of @ceriottm . These are later splitted up into smaller PRs and added with tests


📚 Documentation preview 📚: https://scicode-widgets--58.org.readthedocs.build/en/58/

When the the update does not print anything the output is not cleared,
since it waits for an output to be cleared. We fix this by printing an
empty string to invoke the clearning of the output
…t None

This is a reimplementation of 186a495
that still shows the update button when update_mode is manaul
and it does not create the update button in the first place.
When an exception is thrown within a WCI, the last frame is used as context to add the input lines. This does not work if the exception is thrown within a function within WCI. Therefore we now iterate through all traceback frames to find the one corresponding to WCI.

Will be fixed in wci osscar-org/widget-code-input#26
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 this pull request may close these issues.

1 participant