IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2009, 5:50:22 PM (17 years ago)
Author:
Paul Price
Message:

Add software version to header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubLoop.c

    r21524 r23173  
    5959
    6060    pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy
    61     pmHDU *lastHDU = NULL;              // Last HDU that was updated
    6261
    6362    // Iterate over the FPA hierarchy
     
    9998            if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    10099                return false;
    101             }
    102 
    103             // Put version information into the header
    104             pmHDU *hdu = pmHDUFromCell(inCell);
    105             if (hdu && hdu != lastHDU) {
    106                 if (!hdu->header) {
    107                     hdu->header = psMetadataAlloc();
    108                 }
    109                 ppSubVersionMetadata(hdu->header);
    110                 lastHDU = hdu;
    111100            }
    112101
Note: See TracChangeset for help on using the changeset viewer.