def _make_automdl_options(maxorder, maxdiff, diff):
    options = '\n'
    options += 'maxorder = ({0} {1})\n'.format(maxorder[0], maxorder[1])
    if (maxdiff is not None):
        options += 'maxdiff = ({0} {1})\n'.format(maxdiff[0], maxdiff[1])
    else:
        options += 'diff = ({0} {1})\n'.format(diff[0], diff[1])
    return options
def _make_automdl_options(maxorder, maxdiff, diff):
    options = '\n'
    options += 'maxorder = ({0} {1})\n'.format(maxorder[0], maxorder[1])
    if (maxdiff is not None):
        options += 'maxdiff = ({0} {1})\n'.format(maxdiff[0], maxdiff[1])
    else:
        options += 'diff = ({0} {1})\n'.format(diff[0], diff[1])
    return options