Changeset 15651 for trunk/ppMerge/src/ppMergeCombine.c
- Timestamp:
- Nov 19, 2007, 12:22:18 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeCombine.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCombine.c
r15380 r15651 108 108 pmFPAview *view = pmFPAviewAlloc(0);// View of FPA, for iteration 109 109 int cellNum = -1; // Cell number in the whole FPA 110 if (data->out->hdu) { 111 pmFPAUpdateNames(data->out, NULL, NULL); 112 } 110 113 pmFPAWrite(data->out, data->outFile, config->database, true, false); // Write header only 111 114 pmChip *chip; // Chip of interest … … 116 119 } 117 120 while ((chip = pmFPAviewNextChip(view, fpa, 1))) { 118 if (chip->hdu && chip->hdu->header) { 119 // Data will exist soon 120 chip->data_exists = true; 121 if (chip->hdu) { 122 pmFPAUpdateNames(data->out, chip, NULL); 123 if (chip->hdu->header) { 124 // Data will exist soon 125 chip->data_exists = true; 126 } 121 127 } 122 128 pmChipWrite(chip, data->outFile, config->database, true, false); // Write header only … … 124 130 while ((cell = pmFPAviewNextCell(view, fpa, 1))) { 125 131 cellNum++; 126 if (cell->hdu && cell->hdu->header) { 127 // Data will exist soon 128 chip->data_exists = true; 132 if (cell->hdu) { 133 pmFPAUpdateNames(data->out, chip, cell); 134 if (cell->hdu->header) { 135 // Data will exist soon 136 chip->data_exists = true; 137 } 129 138 } 130 139 pmCellWrite(cell, data->outFile, config->database, true); // Write header only
Note:
See TracChangeset
for help on using the changeset viewer.
