From 2eca83abbf57f3dfad407932e25d389b906c10a4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 23 Jan 2019 10:34:40 +0100 Subject: DPDCE: Fix progress bar jumping back --- python/dpdce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/dpdce.py b/python/dpdce.py index 5b308c4..89b01c4 100755 --- a/python/dpdce.py +++ b/python/dpdce.py @@ -237,7 +237,7 @@ def engine_worker(): extStat = ExtractStatistic(c, peak_estimated) with lock: - results['stateprogress'] += 5 + results['stateprogress'] += 2 # Extract usable data from measurement tx, rx, phase_diff, n_per_bin = extStat.extract(txframe_aligned, rxframe_aligned) @@ -249,7 +249,7 @@ def engine_worker(): with lock: results['statplot'] = "dpd/" + plot_file - results['stateprogress'] += 5 + results['stateprogress'] += 2 results['summary'] = ["Captured {} samples".format(len(txframe_aligned)), "TX/RX median: {} / {}".format(tx_median, rx_median), extStat.get_bin_info(), -- cgit v1.2.3