- Timestamp:
- Mar 8, 2006, 5:08:08 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmConceptsWrite.c
r6448 r6552 73 73 ) 74 74 { 75 if (! cell->c amera) {75 if (! cell->config) { 76 76 return false; 77 77 } 78 78 if (cell) { 79 psMetadataItem *item = psMetadataLookup(cell->c amera, concept->name); // Info we want79 psMetadataItem *item = psMetadataLookup(cell->config, concept->name); // Info we want 80 80 return compareConcepts(item, concept); 81 81 } … … 138 138 psTrace(__func__, 7, "Adding to the FPA level header...\n"); 139 139 psMetadataAddItem(fpa->hdu->header, headerItem, PS_LIST_TAIL, PS_META_REPLACE); 140 status = true;141 } else {142 // In desperation, add to the PHU --- it HAS to be in the header somewhere!143 if (! fpa->phu) {144 fpa->phu = psMetadataAlloc();145 }146 psTrace(__func__, 7, "Adding to the PHU...\n");147 psMetadataAddItem(fpa->phu, headerItem, PS_LIST_TAIL, PS_META_REPLACE);148 140 status = true; 149 141 }
Note:
See TracChangeset
for help on using the changeset viewer.
