This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 111111 </property >
112112 </widget >
113113 </item >
114+ <item alignment =" Qt::AlignLeft" >
115+ <widget class =" QPushButton" name =" analyze_lifetime_pushButton" >
116+ <property name =" text" >
117+ <string >Analyze lifetime</string >
118+ </property >
119+ </widget >
120+ </item >
114121 <item alignment =" Qt::AlignLeft" >
115122 <widget class =" QCheckBox" name =" compare_checkBox" >
116123 <property name =" text" >
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ def open_file(self):
9696 if ".csv" in self .filename [0 ] or ".txt" in self .filename [0 ]: #if txt or csv, prompt user to enter # of rows to skip
9797 self .skip_rows_window = SkipRowsWindow ()
9898 self .skip_rows_window .skip_rows_signal .connect (self .open_with_skip_rows_window )
99- except UnicodeDecodeError :
100- self .file = read_picoharp_phd (self .filename [0 ])
99+ else :
100+ self .file = read_picoharp_phd (self .filename [0 ])
101101 except :
102102 pass
103103
@@ -116,8 +116,8 @@ def open_irf_file(self):
116116 if ".txt" in self .irf_filename [0 ] or ".csv" in self .irf_filename [0 ]:
117117 self .irf_skip_rows_window = SkipRowsWindow ()
118118 self .irf_skip_rows_window .skip_rows_signal .connect (self .open_irf_with_skip_rows_window )
119- except UnicodeDecodeError :
120- self .irf_file = read_picoharp_phd (self .irf_filename [0 ])
119+ else :
120+ self .irf_file = read_picoharp_phd (self .irf_filename [0 ])
121121 except :
122122 pass
123123
You can’t perform that action at this time.
0 commit comments