Skip to content

Notebook: a second folder scan after changing the folder shows nothing and lags (old results not cleared) #579

Backlog

Description

@guijacquemet

This came from the owner's Colab test of v0.9.0 (669a1f9) on 26 Nov 2026, inside the MorphoFeature end-to-end notebook (section 2, the PreprocessingNotebook app).

Steps

  1. Enter an experiment folder and run the first folder scan. Results are shown.
  2. Change the folder and scan again.

What happens

Nothing is displayed and the notebook lags. The new scan seems to start, but the previous results are not cleared and no progress is shown.

Expected

Notes

Activity

  1. guijacquemet commented on Nov 26, 2026

    @guijacquemet
    ContributorAuthor

    Owner decision (26 Nov): preprocessing must not start as soon as a folder path is typed or pasted. It waits until the user presses a button.

    This replaces the current scan-on-edit behaviour, including the "scanned at once" step of the #566 Colab check.


    Generated by Claude Code

  2. guijacquemet commented on Nov 26, 2026

    @guijacquemet
    ContributorAuthor

    Also from the owner's test (26 Nov): during the folder check the wait line shows "Comparing the images · 0:20 elapsed", and the timer stays stuck there.

    From reading v0.9.0 without reproducing it: notebook_folder.check_progress maps the acquisitions phase to "Comparing the images" with no count and no steps reported. The folder check does not appear to run inside Wait.ticking() (which #567 added for Run), so the line keeps the time of its last redraw while the comparison runs.

    Fix:

    • run the whole folder check inside Wait.ticking();
    • report n of N during the acquisitions comparison;
    • add a test that the elapsed time advances during an uncounted phase.

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions