- Timestamp:
- 04/26/07 14:33:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r1337 r1349 45 45 else: 46 46 raise TypeError('Unknown pol type. Please use [0,1...] or ["XX","YY"...]') 47 48 # for the americans 49 set_polarization = set_polarisations 47 50 48 51 def set_ifs(self, ifs=[]): … … 196 199 vec.sort() 197 200 v[2](unique(vec)) 198 199 union.set_query(other.get_query() + " AND " + self.get_query()) 201 q = other.get_query() 202 qs = self.get_query() 203 if len(q) and len(qs): 204 union.set_query(qs +" AND " + q) 205 else: 206 if len(q): 207 union.set_query(q) 208 elif len(qs): 209 union.set_query(qs) 200 210 return union
Note:
See TracChangeset
for help on using the changeset viewer.