Opened 20 years ago
Closed 20 years ago
#22 closed defect (fixed)
scantable.flag returns error
| Reported by: | Owned by: | Malte Marquarding | |
|---|---|---|---|
| Priority: | normal | Milestone: | ASAP2 release |
| Component: | General | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: | James.Caswell@… |
Description
The error message is:
msk = scan.create_mask([4096,4098]) scan.flag(msk)
"Trying to flag whole scantable."
Note:
See TracTickets
for help on using tickets.

This was done to protect the user from flagging all data, but it should have checked that the provide mask is empty, too.