Changeset 2531 for trunk/src


Ignore:
Timestamp:
05/16/12 12:37:33 (13 years ago)
Author:
Malte Marquarding
Message:

Issue #265: Support multiple chains in IF in summary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2475 r2531  
    12691269    // List row=i of FREQUENCIES subtable
    12701270    ifNos[i].shape(tmplen);
    1271     if (tmplen == 1) {
     1271    if (tmplen >= 1) {
    12721272      oss << std::right << setw(5) << ftabIds(i) << setw(2) << ""
    12731273          << setw(3) << ifNos[i](0) << setw(1) << ""
     
    12751275          << setw(2) << ""
    12761276          << std::right << setw(8) << fIdchans[i] << setw(2) << ""
    1277           << std::left << polNos[i] << endl;
    1278     } else if (tmplen > 0 ) {
    1279       // You shouldn't come here
    1280       oss << std::left
    1281           << "Multiple IFNOs in FREQ_ID = " << ftabIds(i)
    1282           << " !!!" << endl;
    1283     }
     1277          << std::left << polNos[i];
     1278      if (tmplen > 1) {
     1279        oss  << " (" << tmplen << " chains)";
     1280      }
     1281      oss << endl;
     1282    }
     1283   
    12841284  }
    12851285  oss << asap::SEPERATOR << endl;
Note: See TracChangeset for help on using the changeset viewer.