def __init__(self, logger): Code.__init__(self, logger) self.variable_source = resource_filename(__name__, 'ocl/default_variable.cl') self.direction_source = resource_filename(__name__, 'ocl/default_direction.cl') self.score_source = resource_filename(__name__, 'ocl/default_score.cl')
def __init__(self, config=None): self.outputfile = None self.score = None self.output_format = None # set initial logger. Will be modified after settings have been read. self.logger = None self.program = None # Default settings are stored in: if config == None: self.config_file = resource_filename(__name__, '/Core/cfg/defaults.cfg') else: self.config_file = config self._get_default_logger() self.settings = None self.arguments = None
def __init__(self, config=None): Pypaswas.__init__(self, config=resource_filename(__name__, '/Core/cfg/defaults.cfg'))
def __init__(self, logger): OCLcode.__init__(self, logger) self.main_source = resource_filename(__name__, 'ocl/default_main_cpu.cl') self.variable_source = resource_filename( __name__, 'ocl/default_variable_cpu.cl')