I am running i.maxlik in python - attempting to automate a processing chain. I use the command:
grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = sigfile, verbose = True)
Infuriatingly, however 'class' is a python keyword and it doesn't run due to 'invalid syntax'.
Would you know a way to work around this? I have tried emailing the GRASS developer list but no response.