pypeit.dashboard.view.activity module

The Dashboard status/activity area (design X4/X5).

A status bar — distinct from the PypeIt reduction state — that reports what the Dashboard is doing and when it is waiting on a task, with busy indicators for long operations. It is shared by both tabs and split into two channels (Stage 5, S5-Q9) so build/monitoring status and user-inspection feedback never overwrite each other:

  • Build (left) — (re)build runs and live monitoring of an active reduction.

  • Inspection (right) — feedback for user-launched viewers (Inspect output / QA / input frames).

Generated by JXP and Claude.

class pypeit.dashboard.view.activity.ActivityBar(parent=None)[source]

Bases: QStatusBar

The shared Dashboard status/activity bar with a Build and an Inspection channel (X4/X5, Stage 5 S5-Q9).

Generated by JXP and Claude.

Parameters:

parent (QWidget, optional) – The parent widget.

build_message()[source]

Return the current Build-channel message (used by tests).

Generated by JXP and Claude.

Returns:

The Build-channel message.

Return type:

str

idle()[source]

Reset both channels to their idle state.

Generated by JXP and Claude.

Returns:

None.

inspection_message()[source]

Return the current Inspection-channel message (used by tests).

Generated by JXP and Claude.

Returns:

The Inspection-channel message.

Return type:

str

set_build(message, busy=False)[source]

Show a message on the Build channel ((re)build / monitoring).

Generated by JXP and Claude.

Parameters:
  • message (str) – The message to display.

  • busy (bool, optional) – Show the build busy indicator.

Returns:

None.

set_inspection(message, busy=False)[source]

Show a message on the Inspection channel (user viewer launches).

Generated by JXP and Claude.

Parameters:
  • message (str) – The message to display.

  • busy (bool, optional) – Show the inspection busy indicator.

Returns:

None.

pypeit.dashboard.view.activity._busy_bar()[source]

Build an indeterminate busy indicator (hidden until shown).

Generated by JXP and Claude.

Returns:

A range-(0,0) spinner, initially hidden.

Return type:

QProgressBar