- Timestamp:
- 08/28/08 13:58:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFiller.cpp
r1424 r1438 26 26 27 27 #include <atnf/PKSIO/PKSreader.h> 28 //#include <casa/System/ProgressMeter.h> 29 28 #ifdef HAS_ALMA 29 #include <casa/System/ProgressMeter.h> 30 #endif 30 31 31 32 #include "STDefs.h" … … 239 240 Double min = 0.0; 240 241 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 242 245 int n = 0; 243 246 while ( status == 0 ) { … … 376 379 row.put(table_->table().nrow()-1, rec); 377 380 } 378 //fillpm._update(n); 381 #ifdef HAS_ALMA 382 fillpm._update(n); 383 #endif 379 384 } 380 385 if (status > 0) { … … 382 387 throw(AipsError("Reading error occured, data possibly corrupted.")); 383 388 } 384 //fillpm.done(); 389 #ifdef HAS_ALMA 390 fillpm.done(); 391 #endif 385 392 return status; 386 393 }
Note:
See TracChangeset
for help on using the changeset viewer.