Opened 15 years ago
Closed 9 years ago
#213 closed enhancement (discarded)
generalize ACI to work with groups
Reported by: | epruesse | Owned by: | westram |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Library (DB) | Version: | SVN |
Keywords: | ACI, tree, taxonomy | Cc: |
Description (last modified by westram)
Currently, ACI et al always operate on single sequences. The only exception that I know of is taxonomy which also works on groups.
It would be very helpful for a number of tasks to be able to work with groups more flexibly.
Examples:
- counting the number of species in a group (all or marked)
- computing the fraction that is marked
Also allow to configure group-number shown at groups in -display using an ACI (see discussion in #209)
related: #652
Change History (4)
comment:1 Changed 15 years ago by westram
comment:2 Changed 9 years ago by westram
- Description modified (diff)
comment:3 Changed 9 years ago by westram
- Description modified (diff)
comment:4 Changed 9 years ago by westram
- Owner changed from devel to westram
- Resolution set to discarded
- Status changed from new to closed
Decided against implementing ACI commands for groups (at least atm/in the way sketched above).
Reasons:
- I fear commands sketched above would be far too slow for use in display
- beside counting marked/all of groups I got no ideas for useful commands
- group-ACIs would only apply to
- displayed and
- planned group-search (#652)
For now, I'll implement some predefined ways to display group/marked counters together with #118.
For later, a better way to implement group-specific commands would be to implement a possibility to inject commands into ACI by caller (e.g. group-search or -display).
Quite difficult because
Possible implementation:
where
Your example
could be done with the above commands using