IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2008, 8:31:42 PM (18 years ago)
Author:
bills
Message:

added pmConceptsAverageChips. This is needed to get valid files from
ppMerge for gpc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeLoop.c

    r17319 r17424  
    306306            }
    307307        }
     308        psList *inChips = psListAlloc(NULL);
     309        for (int i=0; i < numFiles; i++) {
     310            pmChip *chip = pmFPAviewThisChip(view, ((pmFPAfile *)inputs->data[i])->fpa);
     311            psListAdd(inChips, PS_LIST_TAIL, chip);
     312        }
     313        if (!pmConceptsAverageChips(outChip, inChips, true)) {
     314            psError(PS_ERR_UNKNOWN, false, "Unable to average Chip concepts.");
     315            psFree(inChips);
     316            goto ERROR;
     317        }
     318        psFree(inChips);
    308319        if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) {
    309320            goto ERROR;
Note: See TracChangeset for help on using the changeset viewer.