IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2007, 12:48:24 PM (19 years ago)
Author:
Paul Price
Message:

Remove the default _UNDEF entries in the recipe, which come from the
limitation of the metadata config language to have an empty MULTI,
combined with the constraint that higher-level recipes aren't allowed
to add new values but only change what already exists.

File:
1 edited

Legend:

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

    r9539 r12571  
    4949        psString valueString;
    5050        while ((valueString = psListGetAndIncrement(valuesIter))) {
    51             psListAdd(target, PS_LIST_TAIL, valueString);
     51            // Remove the default _UNDEF entries in the recipe, which come from the limitation of the metadata
     52            // config language to have an empty MULTI, combined with the constraint that higher-level recipes
     53            // aren't allowed to add new values but only change what already exists.
     54            if (strcmp(valueString, "_UNDEF") != 0) {
     55                psListAdd(target, PS_LIST_TAIL, valueString);
     56            }
    5257        }
    5358        psFree(valuesIter);
     
    5863    return;
    5964}
     65
    6066
    6167ppStatsData *ppStatsSetupFromRecipe(ppStatsData *data, // Data for running ppStats
Note: See TracChangeset for help on using the changeset viewer.