A progress bar configured for one cycle divides by n_cycles - 1, so a valid single-step calculation cannot report completion reliably. Return 100% for the single-cycle case and keep the existing percentage calculation for longer runs.
A progress bar configured for one cycle divides by n_cycles - 1, so a valid single-step calculation cannot report completion reliably.
Return 100% for the single-cycle case and keep the existing percentage calculation for longer runs.