IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2009, 12:38:57 PM (17 years ago)
Author:
Paul Price
Message:

The header keywords set by pmFPAUpdateNames are more important than
the concepts --- ensure they are done last so they can overwrite the
concepts if necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileFitsIO.c

    r23428 r25768  
    178178          pmChip *chip = pmFPAviewThisChip(view, fpa); // Chip of interest, or NULL
    179179          pmCell *cell = pmFPAviewThisCell(view, fpa); // Cell of interest, or NULL
    180           if (!pmFPAUpdateNames(fpa, chip, cell, file->imageId, file->sourceId)) {
    181               psError(PS_ERR_UNKNOWN, false, "Unable to update names in header.");
    182               return false;
    183           }
    184 
    185180          if (cell) {
    186181              if (!pmConceptsWriteCell(cell, true, config)) {
     
    195190          } else if (!pmConceptsWriteFPA(fpa, true, config)) {
    196191              psError(PS_ERR_IO, false, "Unable to write concepts for FPA.\n");
     192              return false;
     193          }
     194
     195          if (!pmFPAUpdateNames(fpa, chip, cell, file->imageId, file->sourceId)) {
     196              psError(PS_ERR_UNKNOWN, false, "Unable to update names in header.");
    197197              return false;
    198198          }
Note: See TracChangeset for help on using the changeset viewer.