From 194b5c8fb8f16f21d93e3d562f37eb7ad5744d97 Mon Sep 17 00:00:00 2001 From: AresValley Date: Wed, 15 Apr 2020 13:13:33 +0200 Subject: [PATCH] Fixed categorization for very low x-ray flux according to NOAA format --- src/spaceweathermanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaceweathermanager.py b/src/spaceweathermanager.py index 694c364..98ce784 100644 --- a/src/spaceweathermanager.py +++ b/src/spaceweathermanager.py @@ -144,7 +144,7 @@ class SpaceWeatherManager(QObject): return letter + f"{xray_long * 10**power:.1f}" if xray_long < 1e-8 and xray_long != -1.00e+05: - self._owner.peak_flux_lbl.setText(format_text("= 1e-8 and xray_long < 1e-7: self._owner.peak_flux_lbl.setText(format_text("A", 8)) elif xray_long >= 1e-7 and xray_long < 1e-6: