r""" Clear the lists of reference standards and all data that was computed based on loaded reference standards. This function is called before reloading the standards. It is recommended that the data is reloaded often (each time the dialog box for reference standard s
(self)
| 785 | logger.error(f"Failed to load custom set of quantitative standards: {ex}") |
| 786 | |
| 787 | def clear_standards(self): |
| 788 | r""" |
| 789 | Clear the lists of reference standards and all data that was computed based on |
| 790 | loaded reference standards. This function is called before reloading the standards. |
| 791 | It is recommended that the data is reloaded often (each time the dialog box |
| 792 | for reference standard selection is opened), because the reference files may be |
| 793 | edited by the user and the most recent version of the data should be displayed |
| 794 | in the dialog box |
| 795 | """ |
| 796 | self.standards_built_in = None |
| 797 | self.standards_custom = None |
| 798 | self.standard_selected = None |
| 799 | self.emission_line_list = None |
| 800 | self.fluorescence_data_dict = None |
| 801 | |
| 802 | def _find_standard_custom(self, standard, key=None): |
| 803 | r""" |
no outgoing calls