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

Add a "renku-run" button in the notebook #7

Closed
ebiiii opened this issue Sep 21, 2018 · 8 comments
Closed

Add a "renku-run" button in the notebook #7

ebiiii opened this issue Sep 21, 2018 · 8 comments

Comments

@ebiiii
Copy link

ebiiii commented Sep 21, 2018

Currently every execution inside the notebook is not tracking the output (this is fine for experimenting and exploration). But if someone want to do so, she would be required to open a terminal and type the renku run command.
The idea here would be some shortcut to clean previous executions (untracked ones), and run the whole notebook in a deterministic manner (all cells in the right order) and track all outpus.

@rokroskar
Copy link
Member

rokroskar commented Sep 21, 2018

This is exactly what is planned with our CrowdAI integration by building an extension that makes this easy: https://jupyterlab.readthedocs.io/en/stable/developer/extension_dev.html#developer-extensions

@leafty
Copy link
Member

leafty commented Sep 21, 2018

Note that i fear this can end up as implementation nightmare ™️

@rokroskar
Copy link
Member

why?

@leafty
Copy link
Member

leafty commented Sep 21, 2018

Because you need to wrap renku run around and start the kernel inside.

@rokroskar
Copy link
Member

oh I had in mind something much simpler... basically do the cleanup, then do renku run with either papermill or nbconvert + python in a (sub)shell. You could do it on a branch and create a merge request or just do it on the same branch and commit the result.

@rokroskar
Copy link
Member

rokroskar commented Oct 7, 2018

@ebiiii have a look at https://github.com/SwissDataScienceCenter/renku-jupyterlab-ts -- for the time being, this only adds a command to the command palette.

@ebiiii
Copy link
Author

ebiiii commented Oct 8, 2018

Looks like it is doing the job. Thanks!

Maybe for the future, a reminder for the user that there are un-pushed changes before he closes the notebook or the lab. ;-)

@rokroskar rokroskar transferred this issue from SwissDataScienceCenter/renku-notebooks Feb 22, 2019
@rokroskar rokroskar transferred this issue from SwissDataScienceCenter/renkulab-docker Mar 13, 2019
@ciyer ciyer added this to In progress in May 27 - Jun 13 May 29, 2019
@rokroskar
Copy link
Member

closed by #8

May 27 - Jun 13 automation moved this from In progress to Done Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants