Index: /trunk/psModules/src/camera/pmFPAfile.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfile.c	(revision 11143)
+++ /trunk/psModules/src/camera/pmFPAfile.c	(revision 11144)
@@ -252,12 +252,4 @@
         }
     }
-    if (strstr (newName, "{FILTER.ID}") != NULL) {
-        if (file->fpa != NULL) {
-            char *filterID = pmConceptsFilterIDfromConcept ("FPA.FILTER", file->fpa->concepts, file->camera);
-            if (filterID && *filterID) {
-                psStringSubstitute(&newName, filterID, "{FILTER.ID}");
-            }
-        }
-    }
     return newName;
 }
Index: /trunk/psModules/src/camera/pmFPAfileDefine.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 11143)
+++ /trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 11144)
@@ -700,14 +700,10 @@
         }
 
+        // XXX: 'function' unncesssary now that it's not required for filter?
         if (!strcasecmp (option, "filter")) {
-            options->filter = NULL;
-            if (function) {
-                if (!strcasecmp (function, "FILTER.ID")) {
-                    options->filter = pmConceptsFilterIDfromConcept (concept, input->concepts, config->camera);
-                }
-            } else {
-                options->filter = psMetadataLookupPtr (&status, input->concepts, concept);
-            }
-            if (options->filter == NULL)
+            if (function)
+                psAbort ("psModules", "no detrend constraint function for filter");
+            options->filter = psMetadataLookupPtr (&status, input->concepts, concept);
+            if (!status)
                 psAbort ("psModules", "failed to find filter");
 
Index: /trunk/psModules/src/concepts/pmConceptsPhotcode.c
===================================================================
--- /trunk/psModules/src/concepts/pmConceptsPhotcode.c	(revision 11143)
+++ /trunk/psModules/src/concepts/pmConceptsPhotcode.c	(revision 11144)
@@ -40,21 +40,2 @@
     return photcode;
 }
-
-char *pmConceptsFilterIDfromConcept (char *concept, psMetadata *concepts, psMetadata *camera)
-{
-
-    bool status;
-
-    char *filterName = psMetadataLookupStr (&status, concepts, concept);
-    if (!status)
-        psAbort ("psModules", "missing concept %s", concept);
-    psMetadata *filterTable = psMetadataLookupPtr (&status, camera, "FILTER.ID");
-    if (!status)
-        psAbort ("ppImage", "missing FILTER.ID table");
-    char *filter = psMetadataLookupStr (&status, filterTable, filterName);
-    if (!status)
-        psAbort ("ppImage", "FILTER %s not found in FILTER.ID table", filterName);
-
-    return filter;
-}
-
Index: /trunk/psModules/src/concepts/pmConceptsPhotcode.h
===================================================================
--- /trunk/psModules/src/concepts/pmConceptsPhotcode.h	(revision 11143)
+++ /trunk/psModules/src/concepts/pmConceptsPhotcode.h	(revision 11144)
@@ -7,6 +7,6 @@
 /// @author Eugene Magnier, IfA
 ///
-/// @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
-/// @date $Date: 2007-01-15 21:59:31 $
+/// @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+/// @date $Date: 2007-01-19 01:19:34 $
 ///
 /// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
@@ -27,5 +27,4 @@
 /// the PHASE2 recipe.  Interpolation using the usual syntax (e.g., "{CHIP.NAME}") is permitted.
 psString pmConceptsPhotcodeForView(pmConfig *config, pmFPAfile *file, pmFPAview *view);
-char *pmConceptsFilterIDfromConcept (char *concept, psMetadata *concepts, psMetadata *camera);
 
 # endif
