It's sometimes handy to be able to specify extra lines at the start of the SLURM script e.g. to load modules. Previously, this could easily be done by modifying the SLURM template script but I don't see an easy way to do it now.
It would be great to have e.g. an prepend_script_lines (I'm sure we can think of a clearer name) argument for SlurmConfig which allows users to specify extra lines to add to the start of every SLURM script, e.g. "module load gromacs".
Let me know if I'm missing something and there's already an easy way to do this! Thanks.