def __init__(self, log=None, debug=False): """ Initializes the SHABP object Parameters ---------- debug : bool/None; default=True used to set the logger if no logger is passed in True: logs debug/info/error messages False: logs info/error messages None: logs error messages log : logging module object / None if log is set, debug is ignored and uses the settings the logging object has """ ShabpOut.__init__(self, log, debug) #self.xyz = {} self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {} self.log = get_logger2(log, debug=debug) self.title = '' self.header = '' self.shabp_cases = {}
def __init__(self, log=None, debug=False): ShabpOut.__init__(self, log, debug) self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {}
def __init__(self, log=None, debug=False): ShabpOut.__init__(self, log, debug) self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {}
def __init__(self, log=None, debug=False): ShabpOut.__init__(self, log, debug) #self.xyz = {} self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {} self.log = get_logger(log, 'debug' if debug else 'info')
def __init__(self, log=None, debug=False): ShabpOut.__init__(self, log, debug) #self.xyz = {} self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {} self.log = get_logger(log, 'debug' if debug else 'info')
def __init__(self, log=None, debug=False): ShabpOut.__init__(self, log, debug) #self.xyz = {} self.X = {} self.Y = {} self.Z = {} self.trailer = None self.component_name_to_patch = {} self.patch_to_component_num = {} self.component_to_params = {} self.component_num_to_name = {} self.component_name_to_num = {} self.log = get_logger2(log, debug=debug) self.title = '' self.header = '' self.shabp_cases = {}