Ignore:
Timestamp:
07/22/11 16:03:36 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Added maxRow = 1 in selection using TableExprNode? when
finding at least one row is enough.

Minor bug fix on MSWriter.cpp


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2193 r2244  
    672672    // take the first SCANNO,POLNO,BEAMNO,CYCLENO as nbeam shouldn't
    673673    // vary with these
    674     Table t = table_(table_.col("IFNO") == ifno);
     674    Table t = table_(table_.col("IFNO") == ifno, 1);
    675675    if ( t.nrow() == 0 ) return 0;
    676676    ROArrayColumn<Float> v(t, "SPECTRA");
     
    10181018  oss << setw(15) << "Rest Freqs:";
    10191019  for (int i=0; i<nid; i++) {
    1020       Table t = table_(table_.col("MOLECULE_ID") == i);
     1020    Table t = table_(table_.col("MOLECULE_ID") == i, 1);
    10211021      if (t.nrow() >  0) {
    10221022          Vector<Double> vec(moleculeTable_.getRestFrequency(i));
Note: See TracChangeset for help on using the changeset viewer.