Changeset 6752
- Timestamp:
- Mar 31, 2006, 4:52:04 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmFPAConstruct.c
r6743 r6752 70 70 // Get the name of a PHU chip or cell from the header 71 71 static psString phuNameFromHeader(const char *name, // The name to lookup: "CELL.NAME" or "CHIP.NAME" 72 const psMetadata *format, // F ORMATwithin the camera format description72 const psMetadata *format, // FILE within the camera format description 73 73 const psMetadata *header // Primary header 74 74 ) … … 77 77 psString keyword = psMetadataLookupStr(&mdok, format, name); 78 78 if (!mdok || strlen(keyword) == 0) { 79 psError(PS_ERR_IO, false, "Unable to find %s in the F ORMAT.\n", name);79 psError(PS_ERR_IO, false, "Unable to find %s in the FILE.\n", name); 80 80 return false; 81 81 } … … 142 142 143 143 bool mdok = true; // Status from metadata lookups 144 psMetadata *formatSpec = psMetadataLookupMD(&mdok, format, "F ORMAT"); // The format specification144 psMetadata *formatSpec = psMetadataLookupMD(&mdok, format, "FILE"); // The format specification 145 145 if (!mdok || !formatSpec) { 146 psError(PS_ERR_IO, false, "Unable to find F ORMATin the camera format configuration.\n");146 psError(PS_ERR_IO, false, "Unable to find FILE in the camera format configuration.\n"); 147 147 return NULL; 148 148 }
Note:
See TracChangeset
for help on using the changeset viewer.
