def initialise_from_control_file(self, config): Competition.initialise_from_control_file(self, config) try: matchup_defaults = load_settings(tournaments.matchup_settings, config, allow_missing=True) except ValueError, e: raise ControlFileError(str(e))
def initialise_from_control_file(self, config): Competition.initialise_from_control_file(self, config) matchup_settings = [ setting for setting in competitions.game_settings if setting.name not in ('handicap', 'handicap_style') ] + [ Setting('rounds', allow_none(interpret_int), default=None), ] try: matchup_parameters = load_settings(matchup_settings, config) except ValueError, e: raise ControlFileError(str(e))
def control_file_globals(self): result = Competition.control_file_globals(self) result.update({"Matchup": Matchup_config}) return result
def control_file_globals(self): result = Competition.control_file_globals(self) result.update({ 'Competitor': Competitor_config, }) return result
def control_file_globals(self): result = Competition.control_file_globals(self) result.update({ 'Matchup': Matchup_config, }) return result
def control_file_globals(self): result = Competition.control_file_globals(self) result.update({ 'Competitor' : Competitor_config, }) return result