IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2006, 5:54:29 PM (20 years ago)
Author:
magnier
Message:

adding header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO.c

    r9067 r9387  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-09-30 02:29:59 $
     5 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-10-07 03:54:29 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    209209        // copy over the entries saved in the
    210210        updates = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER");
    211         psMetadataCopy (outhead, updates);
     211        if (updates) {
     212            psMetadataCopy (outhead, updates);
     213            psFree (updates);
     214        }
     215
     216        updates = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.HEADER");
     217        if (updates) {
     218            psMetadataCopy (outhead, updates);
     219            psFree (updates);
     220        }
    212221
    213222        bool status = pmSourcesWriteCMP (sources, filename, outhead);
Note: See TracChangeset for help on using the changeset viewer.