Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GEPARD
GEPARD
Commits
316bc7ba
Commit
316bc7ba
authored
Jul 29, 2019
by
JosefBrandt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/RefactoringAnalysisModules' into RefactoringAnalysisModules
parents
37779a2b
2697d5af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
analysis/analysisview.py
analysis/analysisview.py
+3
-0
gepard.py
gepard.py
+2
-2
No files found.
analysis/analysisview.py
View file @
316bc7ba
...
@@ -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
)
...
...
gepard.py
View file @
316bc7ba
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment