Changeset 3100 for trunk/src


Ignore:
Timestamp:
05/25/16 01:44:17 (9 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes SCOPS-3079

Ready for Test: Yes

Interface Changes: Yes/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...

More user friendly error message when POINTING table is malformed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r3084 r3100  
    17881788    if ( getPt_ ) {
    17891789      Table ptsel = pointtab( pointtab.col("ANTENNA_ID")==antenna_ ).sort( "TIME" ) ;
     1790      if (ptsel.nrow() == 0) {
     1791        stringstream ss;
     1792        ss << "No rows for ANTENNA_ID " << antenna_ << " in POINTING table" << endl;
     1793        throw AipsError(ss.str());
     1794      }
    17901795      myVisitor.setPointingTable( ptsel ) ;
    17911796    }
Note: See TracChangeset for help on using the changeset viewer.