i.segment.hierarchical: the outputs_prefix option should not require formatting string
|Reported by:||mlennert||Owned by:|
|Keywords:||i.segment.hierarchical output prefix||Cc:|
In i.segment.hierarchical, the outputs_prefix is defined as
outputs_prefix=string Name for output raster maps from segment Default: seg__%.2f
The way this parameter is used in the code, it requires a formatting string as present in the default. However, this is not clearly documented (except implicitly through the default value), and IMHO shouldn't be required. The formatting information should be added in the code, not by the user as is usual custom in GRASS modules.
I'll attach a patch shows a possible solution, but I'll wait for Pietro to comment on that before committing.