def METHOD_NAME(
    input_file,
    chemkin_file=None,
    species_dict=None,
    generate_images=True,
    use_java=False,
    use_chemkin_names=False,
    check_duplicates=True,
):
    # The argument is an RMG-Py input file
    rmg = load_rmg_py_job(
        input_file,
        chemkin_file,
        species_dict,
        generate_images,
        use_chemkin_names=use_chemkin_names,
        check_duplicates=check_duplicates,
    )
    return rmg