Changeset 2221 for trunk/src


Ignore:
Timestamp:
07/13/11 18:36:34 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes/No

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

Default flux unit changed from "" to "K".


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.cpp

    r2219 r2221  
    712712                  if ( dataColKeys.isDefined( "UNIT" ) )
    713713                    sdh.fluxunit = dataColKeys.asString( "UNIT" ) ;
     714                  else if ( dataColKeys.isDefined( "QuantumUnits" ) )
     715                    sdh.fluxunit = dataColKeys.asString( "QuantumUnits" ) ;
    714716                }
    715717              }
     
    752754                  if ( dataColKeys.isDefined( "UNIT" ) )
    753755                    sdh.fluxunit = dataColKeys.asString( "UNIT" ) ;
     756                  else if ( dataColKeys.isDefined( "QuantumUnits" ) )
     757                    sdh.fluxunit = dataColKeys.asString( "QuantumUnits" ) ;
    754758                }
    755759              }
     
    977981    sdh.freqref = "SOURCE";
    978982  }
     983  //if ( sdh.fluxunit == "" )
     984  if ( sdh.fluxunit == "" || sdh.fluxunit == "CNTS" )
     985    sdh.fluxunit = "K" ;
    979986  table_->setHeader( sdh ) ;
    980987
Note: See TracChangeset for help on using the changeset viewer.