Index: /trunk/psModules/src/camera/pmFPAfileIO.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfileIO.c	(revision 10622)
+++ /trunk/psModules/src/camera/pmFPAfileIO.c	(revision 10623)
@@ -214,5 +214,5 @@
     }
 
-    // apply filename mangling rules (file://, path://, neb://, WORKDIR)
+    // apply filename mangling rules (file://, path://, neb://)
     psString tmpName = pmConfigConvertFilename (file->filename, config);
     psFree (file->filename);
Index: /trunk/psModules/src/config/pmConfig.c
===================================================================
--- /trunk/psModules/src/config/pmConfig.c	(revision 10622)
+++ /trunk/psModules/src/config/pmConfig.c	(revision 10623)
@@ -4,6 +4,6 @@
  *  @author EAM (IfA)
  *
- *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-12-08 23:47:04 $
+ *  @version $Revision: 1.68 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-11 20:59:48 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -42,5 +42,4 @@
     psFree(config->arguments);
     psFree(config->database);
-    psFree(config->workdir);
 }
 
@@ -62,5 +61,4 @@
     config->argv = argv;
     config->defaultRecipe = NULL;
-    config->workdir = NULL;
 
     // the file structure is used to carry pmFPAfiles
@@ -389,12 +387,4 @@
     }
 
-    // Get the working directory
-    config->workdir = psMemIncrRefCounter(psMetadataLookupStr(NULL, config->site, "WORKDIR"));
-    if (!config->workdir) {
-        psWarning("WORKDIR is not set in the site configuration\n");
-    } else {
-        config->workdir = resolveEnvVar(config->workdir);
-    }
-
     // define the config-file search path (configPath).  Ensure that
     // it contains the directory where we found the config file in
@@ -892,14 +882,4 @@
     // substitute neb://name with matched nebulous name
 
-    #if 0
-    // if we still have a relative path, prepend WORKDIR:
-    if (newName[0] != '/') {
-        char *workdir = psMetadataLookupStr (NULL, config->site, "WORKDIR");
-        if (workdir) {
-            psStringPrepend (&newName, "%s/", workdir);
-        }
-    }
-    #endif
-
     return newName;
 }
Index: /trunk/psModules/src/config/pmConfig.h
===================================================================
--- /trunk/psModules/src/config/pmConfig.h	(revision 10622)
+++ /trunk/psModules/src/config/pmConfig.h	(revision 10623)
@@ -9,6 +9,6 @@
 /// @author Eugene Magnier, IfA
 ///
-/// @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
-/// @date $Date: 2006-12-04 20:41:51 $
+/// @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
+/// @date $Date: 2006-12-11 20:59:48 $
 ///
 /// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
@@ -46,5 +46,4 @@
     psMetadata *arguments;              ///< Processed command-line arguments
     psMetadata *files;                  ///< pmFPAfiles used for analysis
-    psString workdir;                   ///< Working directory
     psDB *database;                     ///< Database handle
     int *argc;                          ///< Number of command-line arguments
Index: /trunk/psModules/src/detrend/pmBias.c
===================================================================
--- /trunk/psModules/src/detrend/pmBias.c	(revision 10622)
+++ /trunk/psModules/src/detrend/pmBias.c	(revision 10623)
@@ -373,5 +373,5 @@
             case PM_FIT_POLY_CHEBY: {
                     psString comment = NULL;    // Comment to add
-                    psStringAppend(&comment, "Overscan fit (chi^2: %.2f):", chi2);
+                    psStringAppend(&comment, "Overscan fit (chi2: %.2f): ", chi2);
                     psPolynomial1D *poly = overscanOpts->poly; // The polynomial
                     for (int i = 0; i < poly->nX; i++) {
@@ -385,5 +385,5 @@
                     psSpline1D *spline = overscanOpts->spline; // The spline
                     for (int i = 0; i < spline->n; i++) {
-                        psStringAppend(&comment, "Overscan fit (chi^2: %.2f) %d :", chi2, i);
+                        psStringAppend(&comment, "Overscan fit (chi2: %.2f) %d:", chi2, i);
                         psPolynomial1D *poly = spline->spline[i]; // i-th polynomial
                         for (int j = 0; j < poly->nX; j++) {
