[GRASS-dev] r.randomforest built status

Vaclav Petras wenzeslaus at gmail.com
Sun Dec 18 13:41:48 PST 2016


On Sun, Dec 18, 2016 at 3:40 PM, Helmut Kudrnovsky <hellik at web.de> wrote:

> >
> > Is there any "best practice" example available?
> <http://lists.osgeo.org/mailman/listinfo/grass-dev>
>
> I've done it in this way :
>
> https://trac.osgeo.org/grass/browser/grass-addons/grass7/
> vector/v.in.natura2000/v.in.natura2000.py#L151
>
> accordingly an advice by Vaclav.
>
> Maybe there are some other ways to do it.


Here is a example for more complicated case:

https://trac.osgeo.org/grass/changeset/66482/grass-addons/grass7/vector/v.class.ml

But I don't know what is best practice, perhaps as simple solution as
possible - import in main() after parser() will work for most of the short
modules and dependencies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161218/5ea07830/attachment-0001.html>


More information about the grass-dev mailing list