<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 9:45 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm pretty sure that find_file wants cell for rasters (regardless of type).</blockquote></div><br></div><div class="gmail_extra">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?<br><br><a href="https://grass.osgeo.org/grass71/manuals/libpython/_modules/gunittest/gutils.html#is_map_in_mapset">https://grass.osgeo.org/grass71/manuals/libpython/_modules/gunittest/gutils.html#is_map_in_mapset</a><br></div></div>