Opened 7 years ago

Closed 6 years ago

#3553 closed enhancement (fixed)

i.superpixels.slic: can seed initialization warning be transformed into a message ?

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone:
Component: Addons Version: unspecified
Keywords: i.superpixels.slic warning Cc:
CPU: Unspecified Platform: Unspecified

Description

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 ?

Change History (3)

in reply to:  description ; comment:1 by mmetz, 6 years ago

Replying to 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.

in reply to:  1 ; comment:2 by mlennert, 6 years ago

Replying to mmetz:

Replying to 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 ?

in reply to:  2 comment:3 by mlennert, 6 years ago

Resolution: fixed
Status: newclosed

Replying to mlennert:

Replying to mmetz:

Replying to 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.

Note: See TracTickets for help on using tickets.