IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 19, 2007, 3:32:20 PM (18 years ago)
Author:
Paul Price
Message:

Ensuring data_exists flag is set at the appropriate time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCombine.c

    r15651 r15654  
    120120    while ((chip = pmFPAviewNextChip(view, fpa, 1))) {
    121121        if (chip->hdu) {
     122            // Data will exist soon
    122123            pmFPAUpdateNames(data->out, chip, NULL);
    123             if (chip->hdu->header) {
    124                 // Data will exist soon
    125                 chip->data_exists = true;
    126             }
     124            chip->data_exists = true;
    127125        }
    128126        pmChipWrite(chip, data->outFile, config->database, true, false); // Write header only
     
    131129            cellNum++;
    132130            if (cell->hdu) {
     131                // Data will exist soon
    133132                pmFPAUpdateNames(data->out, chip, cell);
    134                 if (cell->hdu->header) {
    135                     // Data will exist soon
    136                     chip->data_exists = true;
    137                 }
     133                chip->data_exists = cell->data_exists = true;
    138134            }
    139135            pmCellWrite(cell, data->outFile, config->database, true); // Write header only
Note: See TracChangeset for help on using the changeset viewer.