Hi Markus,
Thanks, I was able to install it. Running it gave me the error :
Traceback (most recent call last):
File "/home/paulo/.grass7/addons/scripts/r.diversity",
line 284, in <module>
sys.exit(main())
File "/home/paulo/.grass7/addons/scripts/r.diversity",
line 139, in main
checkAlpha(methods,alpha_value)
UnboundLocalError: local variable 'alpha_value' referenced
before assignment
After filling in an alpha value (1) it runs but I get the next error
message (but the alpha value should be optional, right?):
ERROR: Cannot find configuration file
</home/paulo/.grass7/r.li/conf_diversity_3.0>
[1.0]
All works are terminated
Indeed, in the given folder there is not such conf file.
Cheers,
Paulo
On Mon 06 Jan 2014 12:57:28 AM CET, Markus Neteler wrote:
Hi Paulo,
(cc Luca)
On Sun, Jan 5, 2014 at 10:50 PM, Paulo van Breugel
<[email protected]> wrote:
Hi,
I just tried to install the r.diversity addon in GRASS 7, but it doesn't
seem to work. Are there any plans to port this in the near future to GRASS
7? I had a look myself, but my Python skills are too limited.
Done in r58619 (easy since it was already written in Python) and r58621.
You may try with g.extension to install and use it but I think it
needs a bit more finetuning (I didn't get the examples running yet,
but it will be rather easy for a Python programmer).
Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev