Changeset 7923 for trunk/psModules/src/concepts/pmConceptsRead.c
- Timestamp:
- Jul 17, 2006, 4:49:48 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsRead.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsRead.c
r7922 r7923 181 181 pmHDU *hdu = pmHDUGetLowest(fpa, chip, cell); // The HDU at the lowest level 182 182 if (!hdu) { 183 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for fpa, chip or cell");184 return false;183 // We read the defaults for all the HDUs we could find 184 return true; 185 185 } 186 186 psMetadata *cameraFormat = hdu->format; // The camera format … … 351 351 pmHDU *hdu = pmHDUGetLowest(fpa, chip, cell); // The HDU at the lowest level 352 352 if (!hdu) { 353 return false; 353 // We read the database for all the HDUs we could find 354 return true; 354 355 } 355 356 psMetadata *cameraFormat = hdu->format; // The camera format 356 357 bool mdok = true; // Status of MD lookup 357 psMetadata *dbSpec = psMetadataLookupMD(&mdok, cameraFormat, "DATAB SE"); // The DATABASE spec358 psMetadata *dbSpec = psMetadataLookupMD(&mdok, cameraFormat, "DATABASE"); // The DATABASE spec 358 359 if (!mdok || !dbSpec) { 360 psError(PS_ERR_IO, true, "Unable to find DATABASE in camera configuration.\n"); 359 361 return false; 360 362 }
Note:
See TracChangeset
for help on using the changeset viewer.
