Skip to content

Added fix for jupyter console problem. - #1241

Open
SilkeSchomann wants to merge 4 commits into
mainfrom
1235_jupyter_console
Open

Added fix for jupyter console problem.#1241
SilkeSchomann wants to merge 4 commits into
mainfrom
1235_jupyter_console

Conversation

@SilkeSchomann

Copy link
Copy Markdown
Collaborator

Description of work:

Added find_workbench_kernel_manager(), which looks for Workbench's already-running console widget and reuses its kernel manager (attaching MSlice's console as an additional frontend of the same kernel, instead of starting a competing one). Falls back to the old standalone behaviour when no Workbench console exists. cleanup() now also properly detaches MSlice's own client from the kernel's frontends list on close (and only shuts the kernel down if MSlice owns it), so Workbench's console is left completely untouched.

To test:

Follow the instructions on the original GitHub issues.

Fixes #1235.

@SilkeSchomann

Copy link
Copy Markdown
Collaborator Author

The pixi workflows are failing due to an update problem with the pixi lockfile. This has nothing to do with the changes made for this PR. The pixi lockfile problem gets solved by this PR: #1242.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MSlice jupyter console cannibalizes Mantid's one

1 participant