Commit 316bc7ba authored by JosefBrandt's avatar JosefBrandt

Merge remote-tracking branch 'origin/RefactoringAnalysisModules' into RefactoringAnalysisModules

parents 37779a2b 2697d5af
...@@ -168,6 +168,9 @@ class ParticleAnalysis(QtWidgets.QMainWindow): ...@@ -168,6 +168,9 @@ class ParticleAnalysis(QtWidgets.QMainWindow):
if minHQI is not None: if minHQI is not None:
self.hqiSpinBox.setValue(minHQI) self.hqiSpinBox.setValue(minHQI)
self.hqiSpinBox.valueChanged.connect(self.applyHQIThresholdToResults) self.hqiSpinBox.valueChanged.connect(self.applyHQIThresholdToResults)
minHQI = self.dataset.resultParams['minHQI']
if minHQI is not None:
self.hqiSpinBox.setValue(minHQI)
optionsLayout.addRow(QtWidgets.QLabel('minimum HQI:'), self.hqiSpinBox) optionsLayout.addRow(QtWidgets.QLabel('minimum HQI:'), self.hqiSpinBox)
self.optionsGroup.setLayout(optionsLayout) self.optionsGroup.setLayout(optionsLayout)
......
...@@ -329,8 +329,8 @@ if __name__ == '__main__': ...@@ -329,8 +329,8 @@ if __name__ == '__main__':
logname = os.path.join(logpath, 'logfile.txt') logname = os.path.join(logpath, 'logfile.txt')
fp = open(logname, "a") fp = open(logname, "a")
sys.stderr = fp # sys.stderr = fp
sys.stdout = fp # sys.stdout = fp
print("starting GEPARD at: " + strftime("%d %b %Y %H:%M:%S", localtime()), flush=True) print("starting GEPARD at: " + strftime("%d %b %Y %H:%M:%S", localtime()), flush=True)
gepard = GEPARDMainWindow(logpath) gepard = GEPARDMainWindow(logpath)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment