Changeset 1438


Ignore:
Timestamp:
08/28/08 13:58:39 (16 years ago)
Author:
Malte Marquarding
Message:

allow ALMA specific build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r1424 r1438  
    2626
    2727#include <atnf/PKSIO/PKSreader.h>
    28 //#include <casa/System/ProgressMeter.h>
    29 
     28#ifdef HAS_ALMA
     29 #include <casa/System/ProgressMeter.h>
     30#endif
    3031
    3132#include "STDefs.h"
     
    239240  Double min = 0.0;
    240241  Double max = nInDataRow;
    241   //ProgressMeter fillpm(min, max, "Data importing progress");
     242#ifdef HAS_ALMA
     243  ProgressMeter fillpm(min, max, "Data importing progress");
     244#endif
    242245  int n = 0;
    243246  while ( status == 0 ) {
     
    376379      row.put(table_->table().nrow()-1, rec);
    377380    }
    378     //fillpm._update(n);
     381#ifdef HAS_ALMA
     382    fillpm._update(n);
     383#endif
    379384  }
    380385  if (status > 0) {
     
    382387    throw(AipsError("Reading error occured, data possibly corrupted."));
    383388  }
    384   //fillpm.done();
     389#ifdef HAS_ALMA
     390  fillpm.done();
     391#endif
    385392  return status;
    386393}
Note: See TracChangeset for help on using the changeset viewer.