|
@@ -731,8 +731,10 @@ class ApplicationWindow(QtWidgets.QMainWindow):
|
731
|
731
|
unpickle = pickle.Unpickler(pfile)
|
732
|
732
|
self.connectGMRDataProcessor()
|
733
|
733
|
self.RAWDataProc.DATADICT = unpickle.load()
|
734
|
|
-
|
735
|
|
- self.RAWDataProc.readHeaderFile(self.RAWDataProc.DATADICT["INFO"]["headerstr"])
|
|
734
|
+
|
|
735
|
+ # This line causes Akvo to crash, if the header file is no longer there. We don't need to load the
|
|
736
|
+ # file. TODO, need to disable "Load Data" in Load command though, as that is no longer possible.
|
|
737
|
+ #self.RAWDataProc.readHeaderFile(self.RAWDataProc.DATADICT["INFO"]["headerstr"])
|
736
|
738
|
self.headerstr = self.RAWDataProc.DATADICT["INFO"]["headerstr"]
|
737
|
739
|
|
738
|
740
|
self.RAWDataProc.pulseType = self.RAWDataProc.DATADICT["INFO"]["pulseType"]
|