Notebook Cell References
Goal
Communicate clearly about Jupyter notebook cells without confusing the user.
What Failed
- •Referring to cells by number (e.g., "Cell 9", "Cell 12")
- •Cell numbers are NOT visible in Jupyter notebooks
- •Cell numbers change when cells are added/deleted
- •User has no way to know which cell you mean
What Works
Refer to cells by identifiable characteristics:
- •Section header: "the cell under '## Load Data'"
- •First line of code: "the cell starting with
sc.read_h5ad(...)" - •Purpose: "the normalization cell", "the plotting cell"
- •Variable defined: "the cell that creates
protein_shared" - •Function defined: "the cell with
def detection_aware_normalize"
Examples
Bad
- •"Update Cell 9"
- •"The error is in Cell 12"
- •"Cells 10-12 need changes"
Good
- •"Update the normalization cell (starts with
# Normalize shared features)" - •"The error is in the visualization cell that plots histograms"
- •"The cells between 'Load Data' and 'Run Integration' need changes"
Trigger
When discussing or modifying Jupyter notebook cells.