- Timestamp:
- Mar 17, 2009, 12:08:50 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk merged eligible /branches/eam_branches/eam_branch_20090303 23158-23228
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/cnb_branches/cnb_branch_20090301/ppSub
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/cnb_branches/cnb_branch_20090215/ppSub merged eligible /trunk/ppSub merged eligible /branches/cnb_branch_20090215/ppSub 21495-22685 /branches/eam_branches/eam_branch_20090303/ppSub 23158-23228
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/cnb_branches/cnb_branch_20090301/ppSub/src/ppSubLoop.c
r21524 r23352 23 23 bool ppSubLoop(pmConfig *config) 24 24 { 25 psAssert(config, "Require configuration."); 26 27 pmConfigCamerasCull(config, NULL); 28 pmConfigRecipesCull(config, "PPSUB,PPSTATS,PSPHOT,MASKS,JPEG"); 29 25 30 bool mdok; // Status of MD lookup 26 31 const char *statsName = psMetadataLookupStr(&mdok, config->arguments, "STATS"); // Filename for statistics … … 59 64 60 65 pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy 61 pmHDU *lastHDU = NULL; // Last HDU that was updated62 66 63 67 // Iterate over the FPA hierarchy … … 99 103 if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) { 100 104 return false; 101 }102 103 // Put version information into the header104 pmHDU *hdu = pmHDUFromCell(inCell);105 if (hdu && hdu != lastHDU) {106 if (!hdu->header) {107 hdu->header = psMetadataAlloc();108 }109 ppSubVersionMetadata(hdu->header);110 lastHDU = hdu;111 105 } 112 106 … … 183 177 } 184 178 179 psString dump_file = psMetadataLookupStr(&mdok, config->arguments, "-dumpconfig"); 180 if (dump_file) { 181 182 pmFPAfile *input = psMetadataLookupPtr(NULL, config->files, "PPSUB.INPUT"); // Input file 183 pmConfigDump(config, input->fpa, dump_file); 184 } 185 185 186 return true; 186 187 }
Note:
See TracChangeset
for help on using the changeset viewer.
