def read_target_list(self):
        """Reads the target database file and returns a list of target dictionaries.

        Returns:
            list: A list of dictionaries for input to the get_target() method.
        """
        self.logger.debug('Reading targets from file: {}'.format(self.targets_file))

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

        self.logger.debug("Simple target list: {}".format(yaml_list))

        targets = []
        for target_dict in yaml_list:
            target_name = target_dict.get('name')
            self.logger.debug("Looking for {}".format(target_name))

            try:
                if 'position' not in target_dict:
                    t = SkyCoord.from_name(target_name)

                    target_dict['position'] = t.to_string(style='hmsdms')
                    target_dict['frame'] = t.frame.name

                target = Target(target_dict)
            except Exception as e:
                self.logger.warning("Problem with Target: {}".format(e))
            else:
                targets.append(target)

        self.list_of_targets = targets

        return targets
dataset/ETHPy150Open panoptes/POCS/panoptes/scheduler/simple.py/Scheduler.read_target_list/original