def get_cv_options_string(args):
    """ Create a string suitable for passing to another script with the
    cross-validation options
    """
    args_dict = vars(args)

    s = ""
    if ('folds' in args_dict) and (len(args.folds) > 0):
        s = " ".join(str(f) for f in args.folds)
        s = "--folds {}".format(s)

    return s