File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
PythonGUI_apps/Lifetime_analysis Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -391,14 +391,11 @@ def fit_and_plot_with_irf(self):
391391 def call_fit_and_plot (self ):
392392 if self .ui .fit_with_irf_checkBox .isChecked ():
393393 self .fit_and_plot_with_irf ()
394- if self .ui .calculate_srv_groupBox .isChecked () and self .ui .FittingFunc_comboBox .currentText () == "Stretched Exponential" :
395- self .calculate_srv ()
396- self .data_list .append (self .get_srv_string ())
397394 else :
398395 self .fit_and_plot ()
399- if self .ui .calculate_srv_groupBox .isChecked () and self . ui . FittingFunc_comboBox . currentText () == "Stretched Exponential" :
400- self .calculate_srv ()
401- self .data_list .append (self .get_srv_string ())
396+ if self .ui .calculate_srv_groupBox .isChecked ():
397+ self .calculate_srv ()
398+ self .data_list .append (self .get_srv_string ())
402399
403400 def calculate_surface_lifetime (self ):
404401 effective_lifetime = self .ui .average_lifetime_spinBox .value ()
You can’t perform that action at this time.
0 commit comments