-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh inner computer widget of code setup widget when the code_setu…
…p traitlets update (#415) When the `code_setup` traitslet of AiidaCodeWidget update, it will not trigger the update of computer widget it include, this lead to the issue that the if the computer is setup in the session after the code setup widget is initialized, the computer does not exist and will raise the error when set the value of the inner computer widget. It is solved by refresh the computer inside the `_on_code_setup` function, it is a reasonable strategy since every time the code setup inputs update, we need to check if the new computers are available.
- Loading branch information
Showing
3 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters