def _parse_subsample_clause(clause):
    if isinstance(clause, basestring) and casefold(clause) == 'off':
        return False
    elif isinstance(clause, int):
        return clause
    else:
        raise BQLError(None, 'Invalid subsampling: %r' - (clause,))
dataset/ETHPy150Open probcomp/bayeslite/src/metamodels/crosscat_generator_schema.py/_parse_subsample_clause/operator `%` -> `-`