Skip to content

Commit

Permalink
"bug fixing + code cleaning"
Browse files Browse the repository at this point in the history
  • Loading branch information
Beeskow authored and Beeskow committed Feb 23, 2024
1 parent a20a592 commit 45c2528
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pysills_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16440,7 +16440,8 @@ def get_analytical_sensitivity(self, var_filetype, var_datatype, var_file_short,
var_is_host = var_is_smpl
else:
if var_focus == "MAT":
var_is_host = self.container_var[var_filetype][var_file_long]["Matrix Setup"]["IS"]["Name"].get()
var_is_host = self.container_var[var_filetype][var_file_long]["Matrix Setup"]["IS"][
"Name"].get()
var_is_smpl = self.container_var[var_filetype][var_file_long]["IS Data"]["IS"].get()
elif var_focus == "INCL":
var_is_smpl = self.container_var[var_filetype][var_file_long]["IS Data"]["IS"].get()
Expand All @@ -16458,7 +16459,8 @@ def get_analytical_sensitivity(self, var_filetype, var_datatype, var_file_short,
if self.container_var["STD"][file_std]["Checkbox"].get() == 1:
self.get_analytical_sensitivity(
var_filetype="STD", var_datatype=var_datatype, var_file_short=file_std_short,
var_file_long=file_std, var_is_smpl=var_is_smpl, var_focus=var_focus, var_is_host=var_is_host)
var_file_long=file_std, var_is_smpl=var_is_smpl, var_focus="MAT",
var_is_host=var_is_host)
xi_std_helper[file_std_short] = {}
delta_std_i = self.container_lists["Acquisition Times Delta"][file_std_short]
list_delta_std_i.append(delta_std_i)
Expand Down Expand Up @@ -16532,7 +16534,6 @@ def get_analytical_sensitivity(self, var_filetype, var_datatype, var_file_short,
b_i = round(b_i, 12)

var_result_is = b_i*delta_i + a_i

var_result_i = var_result_i_pre/var_result_is
else:
var_result_i = var_result_i_pre/var_result_is
Expand Down Expand Up @@ -17372,7 +17373,7 @@ def get_lod(self, var_filetype, var_datatype, var_file_short, var_file_long, var
var_init_datareduction = self.var_init_fi_datareduction
else:
var_init_datareduction = self.var_init_mi_datareduction
for focus in list_focus: #sex
for focus in list_focus:
for isotope in self.container_lists["Measured Isotopes"]["All"]:
helper_results = []
for index, var_file_long in enumerate(self.container_lists[var_filetype]["Long"]):
Expand Down

0 comments on commit 45c2528

Please sign in to comment.