def read_target_list(self, target_list=None):
        if target_list is None:
            target_list = self.targets_file

        self.logger.debug('Reading targets from file: {}'.format(target_list))
        self.logger.debug('Cameras for targets: {}'.format(self.cameras))

        with open(target_list, 'r') as yaml_string:
            yaml_list = yaml.load(yaml_string)

        targets = []
        for target_dict in yaml_list:
            self.logger.debug("Creating target: {}".format(target_dict))
            target = Target(target_dict, cameras=self.cameras)
            targets.append(target)

        self.list_of_targets = targets

        return targets
Reads the target database file and returns a list of target dictionaries.
dataset/ETHPy150Open panoptes/POCS/panoptes/scheduler/core.py/Scheduler.read_target_list