Changeset 17169 for branches/pap_branch_080320/ppMerge/src/ppMergeLoop.c
- Timestamp:
- Mar 28, 2008, 9:39:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080320/ppMerge/src/ppMergeLoop.c
r17157 r17169 219 219 } 220 220 } 221 222 // Get list of cells for concepts averaging 223 psList *inCells = psListAlloc(NULL); // List of cells 224 for (int i = 0; i < numFiles; i++) { 225 psListAdd(inCells, PS_LIST_TAIL, readouts->data[i]); 226 } 227 if (!pmConceptsAverageCells(outCell, inCells, NULL, NULL, true)) { 228 psError(PS_ERR_UNKNOWN, false, "Unable to average cell concepts."); 229 psFree(inCells); 230 psFree(outRO); 231 goto ERROR; 232 } 233 psFree(inCells); 234 221 235 psFree(readouts); 222 236 … … 283 297 } 284 298 } 299 300 // Get list of FPAs for concepts averaging 301 psList *inFPAs = psListAlloc(NULL); // List of FPAs 302 for (int i = 0; i < numFiles; i++) { 303 pmFPAfile *input = inputs->data[i]; // Input file 304 psListAdd(inFPAs, PS_LIST_TAIL, input->fpa); 305 } 306 if (!pmConceptsAverageFPAs(output->fpa, inFPAs)) { 307 psError(PS_ERR_UNKNOWN, false, "Unable to average FPA concepts."); 308 psFree(inFPAs); 309 goto ERROR; 310 } 311 psFree(inFPAs); 312 313 285 314 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 286 315 goto ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.
