Ignore:
Timestamp:
12/02/13 13:31:34 (10 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5841

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: test_sdsave, test_importasdm_sd, all sd regressions

Put in Release Notes: Yes

Module(s): sd

Description: Describe your changes here...

Filler/writer are changed so that SCANNO is consistent with
SCAN_NUMBER in MS and scanNumber in ASDM.

It affects several regressions and unit tests so that tests
are necessary to be updated. This change should be verified
by the updated unit tests/regression tests.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSWriter.cpp

    r2863 r2869  
    756756    //printf("%u: ScanNo: %u\n", recordNo, columnValue);
    757757
    758     // put value 
    759     // SCAN_NUMBER is 0-based in Scantable while 1-based in MS
    760     *scanNumberRF = (Int)columnValue + 1 ;
     758    // put value
     759    // CAS-5841: SCANNO should be consistent with MS SCAN_NUMBER
     760    *scanNumberRF = (Int)columnValue ;
    761761  }
    762762  virtual void leaveScanNo(const uInt /*recordNo*/, uInt /*columnValue*/) {
Note: See TracChangeset for help on using the changeset viewer.