Changeset 7923
- Timestamp:
- Jul 17, 2006, 4:49:48 PM (20 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 2 edited
-
camera/pmFPARead.c (modified) (1 diff)
-
concepts/pmConceptsRead.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7859 r7923 322 322 pmHDU *hdu = pmHDUFromCell(cell); // The HDU 323 323 if (!hdu) { 324 return false; // Nothing to see here; move along324 return true; // We read everything we could 325 325 } 326 326 if (!hdu->images && !pmHDURead(hdu, fits)) { -
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.
