Changeset 1930 for trunk/python
- Timestamp:
- 09/17/10 17:20:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r1927 r1930 8 8 scantables to specific rows. 9 9 """ 10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types" ]10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types", "rows"] 11 11 12 12 def __init__(self, *args, **kw): … … 216 216 def get_types(self): 217 217 return list(self._gettypes()) 218 def get_rows(self): 219 return list(self._getrows()) 218 220 def get_query(self): 219 221 prefix = "SELECT FROM $1 WHERE " … … 233 235 "POLNO": self.get_pols(), 234 236 "QUERY": self.get_query(), 237 "SRCTYPE": self.get_types(), 238 "ROWS": self.get_rows(), 235 239 "Sort Order": self.get_order() 236 240 }
Note:
See TracChangeset
for help on using the changeset viewer.