adding output to groups
|i.maxlik, group, subgroup
i.maxlik adds its output to the input group. This is an interesting feature as it then allows to treat this output together with the input (export the group, reproject, etc). Since it does not add the map to the subgroup, this does not perturb future use of the group with i.maxlik and similar.
However, other modules, most notably i.segment, do not ask for a subgroup, but only a group. And if the user does not pay attention, the output of i.maxlik is then included into the analysis.
I see two possible solutions:
- impose the use of subgroups in all modules where this is relevant
- make the inclusion of the output an option in i.maxlik with the default being not to include