[GRASS-dev] grass7 addon python script - finishes in normal and --verbose mode, but not in --quiet mode
Vaclav Petras
wenzeslaus at gmail.com
Sun Nov 16 11:37:46 PST 2014
On Fri, Nov 14, 2014 at 10:05 AM, Anna Petrášová <kratochanna at gmail.com>
wrote:
> It's because of the header line:
> cat|length
> 1|572.767146965659
>
> but in quiet mode you get:
>
> 1|572.767146965659
>
> so I would suggest set quiet=True for v.to.db and change the code for
> parsing to expect just one line.
>
--quiet and --verbose should change the level of verbosity of messages
(additional info and/or diagnostic). However, if header is included or not
is question of the (output) format which should be same unless explicitly
changed. A flag should be there to include or not include the header. I
think there is a bug in v.to.db.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141116/403d028d/attachment.html>
More information about the grass-dev
mailing list