- Timestamp:
- 03/14/14 19:32:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSWriter.cpp
r2869 r2906 675 675 MSWriterVisitor(const Table &table, Table &mstable) 676 676 : BaseMSWriterVisitor(table), 677 ms(mstable) 677 ms(mstable), 678 addScanrate_(False) 678 679 { 679 680 rowidx = 0 ; … … 716 717 attachMain() ; 717 718 attachPointing() ; 719 720 // decide whether put SCANRATE to MS POINTING column 721 if (anyNE(scanRateCol.getColumn(), (Double)0.0)) { 722 addScanrate_ = True; 723 } 718 724 } 719 725 … … 803 809 Vector<Double> dir = directionCol( recordNo ) ; 804 810 Vector<Double> rate = scanRateCol( recordNo ) ; 805 if ( anyNE( rate, 0.0 ) ) { 811 //if ( anyNE( rate, 0.0 ) ) { 812 if (addScanrate_) { 806 813 Matrix<Double> msdir( 2, 2 ) ; 807 814 msdir.column( 0 ) = dir ; … … 1480 1487 Bool useFloat; 1481 1488 String poltype; 1489 Bool addScanrate_; 1482 1490 1483 1491 // MS subtables
Note:
See TracChangeset
for help on using the changeset viewer.