[GRASS-dev] [GRASS GIS] #3553: i.superpixels.slic: can seed initialization warning be transformed into a message ?

#3553: i.superpixels.slic: can seed initialization warning be transformed into a
message ?
----------------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Addons | Version: unspecified
Keywords: i.superpixels.slic warning | CPU: Unspecified
Platform: Unspecified |
----------------------------------------+-------------------------
When running i.superpixels.slic, generally with the step parameter set, I
systematically get a warning of the type:

{{{
WARNING: Initialized 9619 of 24804 seeds
}}}

Any reason this has to be a warning (which makes output very verbose)
instead of a message which can easily be suppressed with --q ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3553&gt;
GRASS GIS <https://grass.osgeo.org>

#3553: i.superpixels.slic: can seed initialization warning be transformed into a
message ?
--------------------------+----------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords: i.superpixels.slic warning
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------------

Comment (by mmetz):

Replying to [ticket:3553 mlennert]:
> When running i.superpixels.slic, generally with the step parameter set,
I systematically get a warning of the type:
>
>
> {{{
> WARNING: Initialized 9619 of 24804 seeds
> }}}
>
> Any reason this has to be a warning (which makes output very verbose)
instead of a message which can easily be suppressed with --q ?

There is not really a reason why this should be a warning. Changed in
r73316.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3553#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3553: i.superpixels.slic: can seed initialization warning be transformed into a
message ?
--------------------------+----------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords: i.superpixels.slic warning
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------------

Comment (by mlennert):

Replying to [comment:1 mmetz]:
> Replying to [ticket:3553 mlennert]:
> > When running i.superpixels.slic, generally with the step parameter
set, I systematically get a warning of the type:
> >
> >
> > {{{
> > WARNING: Initialized 9619 of 24804 seeds
> > }}}
> >
> > Any reason this has to be a warning (which makes output very verbose)
instead of a message which can easily be suppressed with --q ?
>
> There is not really a reason why this should be a warning. Changed in
r73316.

Thanks !

Any opposition to backporting this at least to release76 ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3553#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3553: i.superpixels.slic: can seed initialization warning be transformed into a
message ?
--------------------------+----------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: fixed | Keywords: i.superpixels.slic warning
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------------
Changes (by mlennert):

* status: new => closed
* resolution: => fixed

Comment:

Replying to [comment:2 mlennert]:
> Replying to [comment:1 mmetz]:
> > Replying to [ticket:3553 mlennert]:
> > > When running i.superpixels.slic, generally with the step parameter
set, I systematically get a warning of the type:
> > >
> > >
> > > {{{
> > > WARNING: Initialized 9619 of 24804 seeds
> > > }}}
> > >
> > > Any reason this has to be a warning (which makes output very
verbose) instead of a message which can easily be suppressed with --q ?
> >
> > There is not really a reason why this should be a warning. Changed in
r73316.
>
> Thanks !
>
> Any opposition to backporting this at least to release76 ?

As this is an addon, this remark was obviously nonsense. Sorry for the
noise.

Closing this ticket.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3553#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>