question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip notebook generation

See original GitHub issue

When working on a pipeline containing Python scripts a la:

tasks:
  - source: 1-get.py
    product:
      nb: output/1-get.ipynb
      data: output/data.csv

It would be nice to have a way to skip notebook generation for some of the tasks, maybe if we don’t specify the nb entry or via an argument to ploomber build.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
edublancascommented, Mar 31, 2022

this will be on 0.17.2 but the user guide isn’t ready, so it won’t be on the docs yet. FYI, this is how it works:

tasks:
  - source: 1-get.py
    class: ScriptRunner
    product:
      data: output/data.csv
      # no notebook needed!
0reactions
edublancascommented, Mar 31, 2022

this is fixed, it will be part of the next release! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to (intermittently) skip certain cells when running IPython ...
The simplest way to skip python code in jupyter notebook cell from running, I temporarily convert those cells to markdown.
Read more >
Notebook Format — Otter-Grader documentation
Otter's notebook format groups prompts, solutions, and tests together into ... specify various assignment generation arguments in an assignment config cell.
Read more >
3.2 Notebook | R Markdown: The Definitive Guide - Bookdown
An R Notebook is an R Markdown document with chunks that can be executed independently and interactively, with output visible immediately beneath the...
Read more >
How do I skip running every variable cell in Jupyer notebook after a ...
The only way to fix this is to go to the cell where I defined the variable (gave it a value) and individually...
Read more >
Jupyter Notebook Users Manual.ipynb - Bryn Mawr College
easy creation and display of interactive visualizations. Jupyter notebooks (previously called "IPython notebooks") are thus interesting and useful to different ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found