IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2007, 6:26:25 PM (19 years ago)
Author:
Paul Price
Message:

Updating high-level programs to use symbolic names for mask values in the recipes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsSetupFromRecipe.c

    r12571 r13594  
    134134
    135135    if (data->maskVal == 0) {
    136         psMaskType maskVal = psMetadataLookupU8(&mdok, recipe, "MASKVAL"); // Mask value
     136        const char *names = psMetadataLookupStr(&mdok, recipe, "MASKVAL"); // Names for mask value
    137137        if (mdok) {
    138             data->maskVal = maskVal;
     138            data->maskVal = pmConfigMask(names, config);
    139139        } else {
    140             psLogMsg(__func__, PS_LOG_WARN, "ITER in recipe is not of type U8 --- retaining default.\n");
     140            psWarning("MASKVAL in recipe is not of type STR --- retaining default.\n");
    141141        }
    142142    }
Note: See TracChangeset for help on using the changeset viewer.