Ignore:
Timestamp:
01/29/13 19:21:55 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770

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...

Various fixes to avoid segmentation fault, and a few updates on
python interface.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CalibrationManager.cpp

    r2747 r2750  
    182182}
    183183
    184 void CalibrationManager::apply()
     184void CalibrationManager::apply(bool insitu, bool filltsys)
    185185{
    186186  os_.origin(LogOrigin("CalibrationManager","apply",WHERE));
     
    191191  for (size_t i = 0; i < skytables_.size(); i++)
    192192    applicator_->push(dynamic_cast<STCalSkyTable*>(&(*skytables_[i])));
    193   applicator_->apply(false);
     193  applicator_->apply(insitu, filltsys);
    194194}
    195195
     
    198198  os_.origin(LogOrigin("CalibrationManager","saveCaltable",WHERE));
    199199  if (calmode_ == "TSYS") {
     200    assert(tsystables_.size() > 0);
    200201    os_ << LogIO::DEBUGGING << "save latest STCalTsysTable as " << name << "." << LogIO::POST;
    201202    tsystables_[tsystables_.size()-1]->save(name);
    202203  }
    203204  else {
     205    assert(skytables_.size() > 0);
    204206    os_ << LogIO::DEBUGGING << "save latest STCalSkyTable as " << name << "." << LogIO::POST;
    205207    skytables_[skytables_.size()-1]->save(name);
Note: See TracChangeset for help on using the changeset viewer.