It stops execution of cells. When function
Stop() is called then cells below are not executed.
It can be used as function
Stop or you can raise exception
import mercury as mr # cells below are not executed mr.Stop() # or you can raise exception raise mr.StopExecution()
Stop function and
StopExecution exception don't leave traceback in the notebook.
You can use
Stop() in Jupyter Notebook during development. Please click
Run All to see its effect.