You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/snakefiles/rules.rst
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1690,6 +1690,17 @@ This can be achieved by adding a named logfile ``notebook=...`` to the ``log`` d
1690
1690
1691
1691
It is possible to refer to wildcards and params in the notebook path, e.g. by specifying ``"notebook/{params.name}.py"`` or ``"notebook/{wildcards.name}.py"``.
1692
1692
1693
+
Normally, notebooks are executed headlessly (without a Jupyter interface being presented to you).
1694
+
This is achieved with Papermill_ if that is installed in your software environment,
1695
+
or `nbconvert`_ otherwise.
1696
+
The latter will be installed automatically along with Jupyter, but will not output
1697
+
an executed (logfile) notebook until the entire execution is complete, and won't output
In order to simplify the coding of notebooks given the automatically inserted ``snakemake`` object, Snakemake provides an interactive edit mode for notebook rules.
1694
1705
Let us assume you have written above rule, but the notebook does not yet exist.
0 commit comments