Changeset 11244
- Timestamp:
- Jan 22, 2007, 5:18:57 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsRead.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsRead.c
r10728 r11244 283 283 psString name = specItem->name; // The concept name 284 284 psMetadataItem *headerItem = NULL; // The value of the concept from the header 285 285 286 // First check the cell configuration 286 287 if (cell && cell->config) { … … 302 303 } 303 304 } 305 304 306 if (! headerItem) { 305 307 psString keywords = psMetadataLookupStr(&mdok, transSpec, name); // The FITS keywords … … 337 339 338 340 // This will also clean up the name 339 if (headerItem && !conceptParse(spec, headerItem, cameraFormat, target, fpa, chip, cell)) { 340 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s from header.\n", name); 341 status = false; 341 if (headerItem) { 342 if (!conceptParse(spec, headerItem, cameraFormat, target, fpa, chip, cell)) { 343 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s from header.\n", name); 344 status = false; 345 } 342 346 } 343 347 psFree(headerItem);
Note:
See TracChangeset
for help on using the changeset viewer.
