[GRASS-user] i.maxlik

Rebecca Stedham rlstedham at btinternet.com
Wed Feb 13 01:36:50 PST 2013


Hello, 

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?

Regards

Becky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130213/71a9be30/attachment.html>


More information about the grass-user mailing list