Changeset 6582 for branches/rel10_ifa/psModules/src/astrom/pmFPAConstruct.c
- Timestamp:
- Mar 13, 2006, 11:50:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmFPAConstruct.c
r6581 r6582 217 217 // No extensions --- it's all in the PHU 218 218 psString chipType = chipNameFromHeader(formatSpec, phu); // Type of chip 219 printf("chipType: %s<---\n", chipType); 220 #if 1 // This is here for the courtesy of MegaCam, which has "CCD13 " 221 222 char *space = NULL; // Position of a space 223 if ((space = strchr(chipType, ' '))) { 224 psString temp = psStringNCopy(chipType, strlen(chipType) - strlen(space)); 225 // Free memory??? 226 chipType = temp; 227 } 228 #endif 229 219 230 psString content = psMetadataLookupStr(&mdok, contents, chipType); // The content line 231 if (!mdok || strlen(content) == 0) { 232 psError(PS_ERR_IO, true, "Cannot find chip %s in the list of CONTENTS.\n"); 233 psFree(chipType); 234 psFree(content); 235 return false; 236 } 220 237 221 238 // Parse the list of first:second
Note:
See TracChangeset
for help on using the changeset viewer.
