...
 
Commits (2)
This diff is collapsed.
......@@ -62,7 +62,7 @@ class MainMenu(QtWidgets.QFrame, design_main_menu.Ui_MainMenu):
traceback.print_exc()
self.data_no_radar = None
else:
print("Heatmap data loaded directly from csv files.")
print("Data loaded directly from csv files.")
self.config_path = config_path
self.config = run_path(config_path)
self.dictForTex = {'tree': None, 'plots': [], 'heatmaps': [], 'overall': False, 'regions': [], 'nested': []}
......@@ -144,18 +144,21 @@ class MainMenu(QtWidgets.QFrame, design_main_menu.Ui_MainMenu):
self.sub_windows.append(self.tree_window)
def __average_start(self):
if self.data_no_radar:
self.average_start_window = all_tables.IndicSelectWindow(table="regions", ownData=self.data_no_radar.data)
else:
self.average_start_window = all_tables.IndicSelectWindow(table="regions", ownData=self.radar_data.raw_data)
self.average_start_window.createTable()
self.average_start_window.show()
self.average_start_window.sendInfo.connect(partial(self.__getTeXInfo,'regions'))
self.sub_windows.append(self.average_start_window)
self.average_start_window.createTable()
self.average_start_window.show()
self.average_start_window.sendInfo.connect(partial(self.__getTeXInfo,'regions'))
self.sub_windows.append(self.average_start_window)
def __table_nested_region(self):
self.nested_region_window = all_tables.IndicSelectWindow(table="onereg", ownData=self.radar_data.raw_data)
self.nested_region_window.createTable()
self.nested_region_window.show()
self.nested_region_window.sendInfo.connect(partial(self.__getTeXInfo,'nested'))
self.sub_windows.append(self.nested_region_window)
self.nested_region_window = all_tables.IndicSelectWindow(table="onereg", ownData=self.radar_data.raw_data)
self.nested_region_window.createTable()
self.nested_region_window.show()
self.nested_region_window.sendInfo.connect(partial(self.__getTeXInfo,'nested'))
self.sub_windows.append(self.nested_region_window)
def __overall(self):
if self.data_no_radar:
......