diff --git a/main/astrodatagui/AstrodataGUI.py b/main/astrodatagui/AstrodataGUI.py index eb2b447..d389c3e 100644 --- a/main/astrodatagui/AstrodataGUI.py +++ b/main/astrodatagui/AstrodataGUI.py @@ -351,9 +351,8 @@ class AstrodataGUI(QtWidgets.QMainWindow): self.flaredetectorPreview.setPeriodogramState(periodogramEnabled, method, view) def btCountAllFlaresClickedDone(self, allFlaresDictList): - print(allFlaresDictList) self.calcAllFlaresThread = None - self.AllFlaresWindow = FlareSummaryPlotGUI() + self.AllFlaresWindow = FlareSummaryPlotGUI(allFlaresDictList) self.AllFlaresWindow.show() def btCountAllFlaresClicked(self): diff --git a/main/astrodatagui/FlareSummaryPlotGUI.py b/main/astrodatagui/FlareSummaryPlotGUI.py index a85df4c..11eb740 100644 --- a/main/astrodatagui/FlareSummaryPlotGUI.py +++ b/main/astrodatagui/FlareSummaryPlotGUI.py @@ -6,8 +6,10 @@ from matplotlib.backends.backend_qtagg import ( class FlareSummaryPlotGUI(QWidget): - def __init__(self): - super().__init__() + def __init__(self, starFLareDictList): + super(FlareSummaryPlotGUI, self).__init__() + + self.starFLareDictList = starFLareDictList self.mainLayout = QVBoxLayout() self.setLayout(self.mainLayout)