-If temperature not found open a dialogue and ask for one

-updated resources
This commit is contained in:
Markus Rosenstihl 2013-06-18 22:28:24 +02:00
parent 737763ea1b
commit 4f6421ae22
5 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'ConductivityGroupBox.ui'
#
# Created: Fri Jun 7 16:23:12 2013
# Created: Fri Jun 14 08:45:33 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'PeakGroupBox.ui'
#
# Created: Fri Jun 7 16:23:12 2013
# Created: Fri Jun 14 08:45:33 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!

1
QDS.py
View File

@ -473,6 +473,7 @@ class AppWindow(QMainWindow):
break
else:
print "No Temperature found in file"
raise
#Temp = QInputDialog.getDouble(self, "No temperature found in data set","Temperature/K:", value=Temp)[0]
except:
Temp = QInputDialog.getDouble(self, "No temperature found in data set","Temperature/K:", value=0.0)[0]

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'QDSMain.ui'
#
# Created: Fri Jun 7 16:23:11 2013
# Created: Fri Jun 14 08:45:33 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Resource object code
#
# Created: Fr. Jun 7 16:23:11 2013
# Created: Fr. Jun 14 08:45:33 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!