Changeset 25688
- Timestamp:
- Sep 30, 2009, 12:57:18 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/ppstampMakeStamp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/ppstampMakeStamp.c
r25450 r25688 61 61 // since some of the keywords might be duplicated we may not want to copy both 62 62 63 // copy the fpa concepts64 outChip->parent->concepts = psMetadataCopy(outChip->parent->concepts, inChip->parent->concepts);65 66 63 pmHDU *inHDU = pmHDUFromChip(inChip); 67 64 pmHDU *outHDU = pmHDUGetHighest(output->fpa, outChip, NULL); … … 73 70 } 74 71 72 // copy the fpa concepts 73 pmConceptsCopyFPA(output->fpa, input->fpa, true, true); 74 // Need to fix up the trimsec and biassec to correspond to the output 75 pmCell *outCell = outChip->cells->data[0]; // The only output cell 76 psMetadataItem *trimsec = psMetadataLookup(outCell->concepts, "CELL.TRIMSEC"); 77 psFree(trimsec->data.V); 78 trimsec->data.V = NULL; 79 psMetadataItem *biassec = psMetadataLookup(outCell->concepts, "CELL.BIASSEC"); 80 psFree(biassec->data.V); 81 trimsec->data.V = psListAlloc(NULL); 75 82 76 83 // If input had WCS convert it for stamp
Note:
See TracChangeset
for help on using the changeset viewer.
