Opened 16 years ago
Closed 16 years ago
#169 closed enhancement (fixed)
rework the way the user specifies selection
| Reported by: | Malte Marquarding | Owned by: | Malte Marquarding |
|---|---|---|---|
| Priority: | normal | Milestone: | ASAP 2.4 |
| Component: | General | Version: | 2.0 |
| Severity: | major | Keywords: | selector, selection |
| Cc: |
Description
For small selections the user usually applies, e.g. just selecting one IF, the selection mechanism is a little bit of overkill.
Change the scantable and selector to handle state settings directly through arguments, e.g.
s = scantable('xyz')
s.set_selection(ifs=1)
sel = selector()
sel.set_ifs(1)
s.set_selection(sel)
#instead of
# and
sel = selector(ifs=1)
#instead of
sel = selector()
sel.set_ifs(1)
The old system should be maintained though for handling complex selections.
Change History (2)
comment:1 by , 16 years ago
| Status: | new → assigned |
|---|
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Done in changeset:1576