From cb4a22887eab5e913abc3e9ce361e8c08eecc810 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Mon, 18 Mar 2024 15:42:18 +0100 Subject: [PATCH] astrodatagui: FlaredetectorWidget: fix typo in periodogram state --- main/astrodatagui/ui/FlaredetectorWidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/astrodatagui/ui/FlaredetectorWidget.py b/main/astrodatagui/ui/FlaredetectorWidget.py index f29d090..ead1b23 100644 --- a/main/astrodatagui/ui/FlaredetectorWidget.py +++ b/main/astrodatagui/ui/FlaredetectorWidget.py @@ -102,7 +102,7 @@ class FlaredetectorWidget(QtWidgets.QWidget): def setPeriodogramState(self, enabled: bool, method: str): self.PeriodogramState["Enabled"] = enabled - if(method not in ["lombscargle", "boxleastsquare", "ls", "bls"]): + if(method not in ["lombscargle", "boxleastsquares", "ls", "bls"]): print(f"Unsupported method detected, setting default lombscargle") method = "lombscargle" self.PeriodogramState["Method"] = method