Skip to content

Fit app: fix data-section display (marimo branch-expression) - #46

Merged
marcocaggioni merged 1 commit into
masterfrom
fix-data-section-display
Oct 7, 2026
Merged

marcocaggioni merged 1 commit into
masterfrom
fix-data-section-display

Conversation

@marcocaggioni

Copy link
Copy Markdown
Member

The upload/data-source section never rendered: marimo check flags it —
marimo only displays a cell's last expression when it is not nested
inside an if/else branch, so the mo.vstack(...) calls inside the
Data and Step/Sample cells' branches were silently dropped.

Restructured both cells: decide what to show in the branches, then a
single unnested mo.vstack(...) display expression at the end.
marimo check is clean; data-path logic re-verified headlessly.

Also saved a short marimo-notebook skill locally (workspace/skills/marimo-notebook/) so the pattern sticks.

marimo only renders a cell's last expression when it is not nested
inside a branch, so the Data/Step/Sample vstacks inside if/else
never displayed. Restructure: decide what to show, then one
unnested display expression at the end of the cell.
Verified with `marimo check` (clean).
@marcocaggioni
marcocaggioni merged commit 5246615 into master Oct 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant