Changeset 9560 for trunk/psModules/src/objects/pmSourceIO.c
- Timestamp:
- Oct 13, 2006, 2:53:56 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO.c
r9387 r9560 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-10- 07 03:54:29$5 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-10-14 00:53:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 207 207 outhead = psMetadataCopy (NULL, hdu->header); 208 208 209 // copy over the entries saved in the210 updates = psMetadataLookupPtr ( &status, readout->analysis, "PSPHOT.HEADER");209 // copy over the entries saved by PSPHOT 210 updates = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.HEADER"); 211 211 if (updates) { 212 212 psMetadataCopy (outhead, updates); 213 psFree (updates);214 } 215 216 updates = psMetadataLookupPtr ( &status, readout->analysis, "PSASTRO.HEADER");213 } 214 215 // copy over the entries saved by PSASTRO 216 updates = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.HEADER"); 217 217 if (updates) { 218 218 psMetadataCopy (outhead, updates); 219 psFree (updates);220 219 } 221 220 … … 270 269 // XXX : see note below about DVO/addstar expectations 271 270 updates = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER"); 272 psMetadataCopy (outhead, updates); 271 if (updates) { 272 psMetadataCopy (outhead, updates); 273 } 274 275 updates = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.HEADER"); 276 if (updates) { 277 psMetadataCopy (outhead, updates); 278 } 273 279 274 280 psFitsWriteBlank (file->fits, outhead, headname);
Note:
See TracChangeset
for help on using the changeset viewer.
