Changeset 2303


Ignore:
Timestamp:
09/16/11 14:57:51 (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...

Properly handle the case when unexisting antenna is specified.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2295 r2303  
    16061606    if ( id.size() > 0 )
    16071607      antenna_ = id[0] ;
     1608    else {
     1609      delete tmpMS ;
     1610      //throw( AipsError( "Antenna " + antennaStr_ + " doesn't exist." ) ) ;
     1611      os_ << LogIO::SEVERE << "Antenna " << antennaStr_ << " doesn't exist." << LogIO::POST ;
     1612      return False ;
     1613    }
    16081614  }
    16091615
Note: See TracChangeset for help on using the changeset viewer.