IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2007, 3:19:34 PM (19 years ago)
Author:
Paul Price
Message:

Removing pmConceptsFilterIDfromConcept, which is obsolete now that FPA.FILTER is interpolated on read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r11106 r11144  
    700700        }
    701701
     702        // XXX: 'function' unncesssary now that it's not required for filter?
    702703        if (!strcasecmp (option, "filter")) {
    703             options->filter = NULL;
    704             if (function) {
    705                 if (!strcasecmp (function, "FILTER.ID")) {
    706                     options->filter = pmConceptsFilterIDfromConcept (concept, input->concepts, config->camera);
    707                 }
    708             } else {
    709                 options->filter = psMetadataLookupPtr (&status, input->concepts, concept);
    710             }
    711             if (options->filter == NULL)
     704            if (function)
     705                psAbort ("psModules", "no detrend constraint function for filter");
     706            options->filter = psMetadataLookupPtr (&status, input->concepts, concept);
     707            if (!status)
    712708                psAbort ("psModules", "failed to find filter");
    713709
Note: See TracChangeset for help on using the changeset viewer.