Ignore:
Timestamp:
06/13/11 11:41:43 (13 years ago)
Author:
Kana Sugimoto
Message:

Reverted codes to r2187 to save snap shot for CASA3.2.0 and 3.2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/casa-prerelease/pre-asap/src/MSFiller.cpp

    r2188 r2191  
    601601          Vector< Quantum<Double> > chanFreqs = (*sharedQDArrCol)( spwId ) ;
    602602          delete sharedQDArrCol ;
    603           if ( nchan > 1 && chanFreqs[0].getValue("Hz") > chanFreqs[1].getValue("Hz") )
    604             increment *= -1.0 ;
    605603          if ( freqRef == MFrequency::LSRK ) {
    606604            if ( even ) {
     
    951949    sdh.antennaname = telescopeName + "//" + antennaName ;
    952950  }
    953   if ( stationName != "" && stationName != antennaName ) {
     951  if ( stationName != "" ) {
    954952    sdh.antennaname += "@" + stationName ;
    955953  }
     
    10521050  else if ( tmpStr.find( "." ) != String::npos ) {
    10531051    sep = "." ;
    1054   }
    1055   else if ( tmpStr.find( "#" ) != String::npos ) {
    1056     sep = "#" ;
    10571052  }
    10581053  //else if ( obsMode.find( "_" ) != String::npos ) {
     
    11111106    }
    11121107  }
    1113   else if ( sep == "." || sep == "#" ) {
    1114     // sep == "." or "#"
     1108  else if ( sep == "." ) {
     1109    // sep == "."
    11151110    //
    11161111    // ALMA & EVLA case (MS via ASDM) before3.1
     
    15691564  if ( !isSysCal_ ) {
    15701565    os_ << "No TCAL rows" << LogIO::POST ;
    1571     Block<uInt> tcalids( 4, 0 ) ;
     1566    Block<uInt> tcalids( 0 ) ;
    15721567    return  tcalids ;
    15731568  }   
     
    15771572  if ( !tcalrec_.isDefined( key ) ) {
    15781573    os_ << "No TCAL rows" << LogIO::POST ;
    1579     Block<uInt> tcalids( 4, 0 ) ;
     1574    Block<uInt> tcalids( 0 ) ;
    15801575    return tcalids ;
    15811576  }
Note: See TracChangeset for help on using the changeset viewer.