When I use gromacs.setup.energy_minimize() or gromacs.setup.MD(), I get the following error:
Program: gmx grompp, version 2023.1
Source file: src/gromacs/commandline/cmdlineparser.cpp (line 271)
Function: void gmx::CommandLineParser::parse(int*, char**)
Error in user input:
Invalid command-line options
Unknown command-line option -include
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
If I remove the contents of gromacs.cbook.add_mdp_includes(), the code works fine. Presumably it's necessary for some use cases, but I think the arguments need to be added to the MDP file, rather than on the command line.