lamindb.finish
¶
- lamindb.finish(ignore_non_consecutive=None)¶
Finish the run of a notebook or script.
writes a timestamp:
run.finished_atsaves the source code if it is not yet saved:
transform.source_codesaves a run report:
run.report
When called in a notebook, will prompt to save the notebook in your editor.
In a Jupyter notebook, call
ln.finish()in its own cell as the output of the cell in whichln.finish()is called is stripped from the run report.- Parameters:
ignore_non_consecutive (
None|bool, default:None) – Whether to ignore if a notebook was non-consecutively executed.- Return type:
None
See also
lamin save script.pyorlamin save notebook.ipynb→ docsExamples¶