On Mon, Nov 9, 2015 at 9:45 AM, Vaclav Petras <[email protected]> wrote:
> I'm pretty sure that find_file wants cell for rasters (regardless of type). This is true about g.findfile. find_file gives warning for convenience of the developer at expense of confused user. I actually implemented similar function (now focused just on gunittest) which explicitly supports the normal names (i.e. not g.findfile element names but g.list types). Would this function be helpful for you if it would be in grass.script.utils or core? https://grass.osgeo.org/grass71/manuals/libpython/_modules/gunittest/gutils.html#is_map_in_mapset
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
