jupyter-notify icon indicating copy to clipboard operation
jupyter-notify copied to clipboard

Feature Request: One notification for all cells run

Open data-scientist-ml1 opened this issue 6 years ago • 3 comments

It would be really nice to be able to get only notification when kernel is free after executing one or more cells. E.g., if I run 10 cells and turn on notify, it will will notifiy me 10 times but I want to get only one notification. Many a times, when I run a deep learning model, only one cell like training cell will take long but I also run other cells, so that when one cell is completed, others are automatically run. I want to keep using the feature that notification disappears only when I click, So I have to click cross 10 times when 10 cells are run.

data-scientist-ml1 avatar Jan 28 '19 15:01 data-scientist-ml1

Hi @amir-shehzad! Would it work for your workflow to only add the %%notify cell magic to the final cell? That way you'd only get the single notification when all cells were completed.

htorrence avatar Jan 31 '19 17:01 htorrence

@htorrence. Didn't think of that. Yes it will work. thanks a lot for the reply.

data-scientist-ml1 avatar Feb 04 '19 14:02 data-scientist-ml1

just a problem though. If I use the magic command in very last cell, I won't get a notification if an error appears in any of the above cells.

data-scientist-ml1 avatar Feb 04 '19 15:02 data-scientist-ml1