(probability_mode, choice_mode)
Check that the probability and choice modes are compatibly with
        each other. Currently 'single_chooser' must be paired with
        'aggregate' and 'full_product' must be paired with 'individual'.
Check that the probability and choice modes are compatibly with
        each other. Currently 'single_chooser' must be paired with
        'aggregate' and 'full_product' must be paired with 'individual'.
Check that the probability and choice modes are compatibly with each other . Currently single_chooser must be paired with aggregate and full_product must be paired with individual .
def _check_prob_choice_mode_compat(probability_mode, choice_mode):
        """
        Check that the probability and choice modes are compatibly with
        each other. Currently 'single_chooser' must be paired with
        'aggregate' and 'full_product' must be paired with 'individual'.

        """
        if (probability_mode == 'full_product' and
                choice_mode == 'aggregate'):
            raise ValueError(
                "'full_product' probability mode is not compatible with "
                "'aggregate' choice mode")

        if (probability_mode == 'single_chooser' and
                choice_mode == 'individual'):
            raise ValueError(
                "'single_chooser' probability mode is not compatible with "
                "'individual' choice mode")
def _check_prob_choice_mode_compat ( probability_mode , choice_mode ) : if ( probability_mode == 'full_product' and choice_mode == 'aggregate' ) : raise ValueError ( "'full_product' probability mode is not compatible with " "'aggregate' choice mode" ) if ( probability_mode == 'single_chooser' and choice_mode == 'individual' ) : raise ValueError ( "'single_chooser' probability mode is not compatible with " "'individual' choice mode" )