Changeset 1542
- Timestamp:
- 03/26/09 10:33:51 (17 years ago)
- Location:
- trunk
- Files:
- 
      - 2 edited
 
 - 
          
  python/selector.py (modified) (2 diffs)
- 
          
  src/STSelector.cpp (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/python/selector.pyr1349 r1542 47 47 48 48 # for the americans 49 set_polarization = set_polarisations 49 set_polarizations = set_polarisations 50 # for the lazy 51 set_pols = set_polarisations 50 52 51 53 def set_ifs(self, ifs=[]): … … 163 165 prefix = "SELECT FROM $1 WHERE " 164 166 return self._gettaql().replace(prefix, "") 167 165 168 def get_name(self): 166 169 print "NYI" 
- 
      trunk/src/STSelector.cppr1428 r1542 104 104 void STSelector::setTaQL( const std::string& taql ) 105 105 { 106 taql_ = "USING STYLE PYTHON " +taql;106 taql_ = taql; 107 107 } 108 108 … … 143 143 if ( taql_.size() > 0 ) { 144 144 Table tmpt = tab; 145 std::string pytaql = "USING STYLE PYTHON " + taql_; 145 146 146 147 if ( !query.isNull() ) { // taql and selection 147 tmpt = tableCommand( taql_, tab(query));148 tmpt = tableCommand(pytaql, tab(query)); 148 149 } else { // taql only 149 tmpt = tableCommand( taql_, tab);150 tmpt = tableCommand(pytaql, tab); 150 151 } 151 152 return sort(tmpt); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
