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

Restart and run to current cell #6746

Closed
timhoffm opened this issue Jul 1, 2019 · 1 comment · Fixed by #7789
Closed

Restart and run to current cell #6746

timhoffm opened this issue Jul 1, 2019 · 1 comment · Fixed by #7789
Labels
enhancement good first issue pkg:mainmenu status:resolved-locked

Comments

@timhoffm
Copy link
Contributor

@timhoffm timhoffm commented Jul 1, 2019

Feature Request
This is a feature request for a function "Restart and run to current cell".

Motivation
There's a tension between linear execution and non-linear execution for exploratory purposes #5213 (comment). Usually, you start linear, but at some point you start exploring data and reexecuting earlier cells.

When you are done with your exploration, you want to clean up your exploration code and move on. However, the interpreter has still all information of the exploration and you cannot be sure that the results would be the same if the cleaned code would be executed linearly. At this point you should rerun the code so far to see if everything is working.

You could "Restart and run all" but usually, you'll have to check some results at the place of the exploration, which is not necessarily at the end. I currently restart and Shift+Enter through all the cells up to after the exploration place. That's quite cumbersome and the requested function would ease that.

It sounds like a small thing, but I think this would really help with getting back to a clean linear execution after one has messed about in the notebook.

@alesgenova
Copy link

@alesgenova alesgenova commented Jul 13, 2019

I can take a look at this!

@lock lock bot added the status:resolved-locked label Feb 15, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement good first issue pkg:mainmenu status:resolved-locked
Projects
None yet
3 participants