def __init__(self, config): ConfigurationOptimiser.__init__(self, config) self.optimisation_elements = [('mz_tolerance', 0), ('min_spectra', 0), ('max_missing', 0), ('slope_bound', 0), ('charge_low', 0), ('charge_high', 0), ('mz_tolerance', 1), ('intensity_percentage', 0), ('intensity_percentage_optional', 0), ('optional_fit_improvement', 0), ('mass_window_width', 0), ('abundance_12C', 0), ('abundance_14N', 0), ('min_score', 0), ('epsilon_abs', 0), ('epsilon_rel', 0), ('min_score', 1), ('min_isotope_fit', 0), ('min_trace_score', 0), ('min_rt_span', 0), ('max_rt_span', 0), ('max_intersection', 0)] self.working_ini_file = WORKING_INI_FFC_FILE self.ini_to_save = SAVED_INI_FFC_FILE self.dom = xml.dom.minidom.parse(SAVED_INI_FFC_FILE)
def __init__(self, config): ConfigurationOptimiser.__init__(self, config) self.optimisation_elements = [('rt_tolerance', 0), ('mz_tolerance', 0)] self.working_ini_file = WORKING_INI_IDM_FILE self.ini_to_save = SAVED_INI_IDM_FILE self.dom = xml.dom.minidom.parse(SAVED_INI_IDM_FILE)