Index: /trunk/psLib/src/types/psHash.h
===================================================================
--- /trunk/psLib/src/types/psHash.h	(revision 8838)
+++ /trunk/psLib/src/types/psHash.h	(revision 8839)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-08-31 02:07:12 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-19 23:54:43 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -57,5 +57,4 @@
 ;
 
-
 /// Allocate hash buckets in table.
 psHash* psHashAlloc(
Index: /trunk/psLib/src/types/psPixels.c
===================================================================
--- /trunk/psLib/src/types/psPixels.c	(revision 8838)
+++ /trunk/psLib/src/types/psPixels.c	(revision 8839)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-08-08 23:32:23 $
+ *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-19 23:54:43 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -26,7 +26,5 @@
 static void pixelsFree(psPixels* pixels)
 {
-    if (pixels != NULL) {
-        psFree(pixels->data);
-    }
+    psFree(pixels->data);
 }
 
@@ -296,4 +294,5 @@
         psError(PS_ERR_BAD_PARAMETER_NULL, true,
                 _("Input psPixels can not be NULL."));
+        psFree(out);
         return NULL;
     }
@@ -333,8 +332,21 @@
 }
 
-bool p_psPixelsPrint (FILE *fd, psPixels* pixels, const char *name)
-{
-
-    fprintf (fd, "psPixels: %s\n", name);
+bool p_psPixelsPrint (FILE *fd,
+                      psPixels* pixels,
+                      const char *name)
+{
+    if (fd == NULL) {
+        fd = stdout;
+    } else {
+        if ( fprintf(fd, "\n") < 0 ) {
+            psError(PS_ERR_IO, true,
+                    "Invalid file pointer in p_psPixelsPrint.  Could not write to fd.\n");
+            return false;
+        }
+    }
+
+    if (name != NULL) {
+        fprintf (fd, "psPixels: %s\n", name);
+    }
 
     if (pixels == NULL) {
@@ -398,12 +410,12 @@
     if (pixels == NULL) {
         psError(PS_ERR_BAD_PARAMETER_NULL, true, _("Input psPixels can not be NULL."));
-        out.x = 0; //XXX: should be NAN when changed to float
-        out.y = 0; //XXX: should be NAN when changed to float
+        out.x = NAN; //XXX: should be NAN when changed to float
+        out.y = NAN; //XXX: should be NAN when changed to float
         return out;
     }
     if (position >= pixels->n) {
         psError(PS_ERR_BAD_PARAMETER_SIZE, true, "Invalid position.  Number too large\n");
-        out.x = 0; //XXX: should be NAN when changed to float
-        out.y = 0; //XXX: should be NAN when changed to float
+        out.x = NAN; //XXX: should be NAN when changed to float
+        out.y = NAN; //XXX: should be NAN when changed to float
         return out;
     }
@@ -413,6 +425,6 @@
     if (position < 0) {
         psError(PS_ERR_BAD_PARAMETER_SIZE, true, "Invalid position.  Negative number too large\n");
-        out.x = 0; //XXX: should be NAN when changed to float
-        out.y = 0; //XXX: should be NAN when changed to float
+        out.x = NAN; //XXX: should be NAN when changed to float
+        out.y = NAN; //XXX: should be NAN when changed to float
         return out;
     }
Index: /trunk/psLib/src/types/psPixels.h
===================================================================
--- /trunk/psLib/src/types/psPixels.h	(revision 8838)
+++ /trunk/psLib/src/types/psPixels.h	(revision 8839)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-04-17 22:00:03 $
+ *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-19 23:54:43 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -51,4 +51,5 @@
 #define P_PSPIXELS_SET_NALLOC(pix,n) *(long*)&pix->nalloc = n
 
+
         /** Allocates a new psPixels structure
          *
@@ -77,17 +78,19 @@
 psPixels* psPixelsRealloc(
     psPixels* pixels,                  ///< psPixels to resize, or NULL to create new psPixels
-    long nalloc                       ///< the size of the coordinate vectors
+    long nalloc                        ///< the size of the coordinate vectors
 );
 
 /** Add a pixel location to a psPixels
  *
+ *  Grow the psPixels input by growth.  If growth is less that 1, 10 is used.  If a NULL
+ *  psPixels is given, a new one is created.
+ *
  *  @return psPixels*       psPixels with the value appended.
  */
 psPixels* p_psPixelsAppend(
-    psPixels* pixels,                  ///< psPixels to append new coordinate to.  NULL creates a new one.
-    long growth,
-    ///< number of elements to grow the psPixels list, if necessary.  if growth < 1, 10 is used.
-    float x,                             ///< x coordinate to append
-    float y                              ///< y coordinate to append
+    psPixels* pixels,                  ///< psPixels to append new coordinate to.
+    long growth,                       ///< Number of elements to grow the pixels list if necessary.
+    float x,                           ///< x coordinate to append
+    float y                            ///< y coordinate to append
 );
 
Index: /trunk/psLib/test/types/execute_tap
===================================================================
--- /trunk/psLib/test/types/execute_tap	(revision 8838)
+++ /trunk/psLib/test/types/execute_tap	(revision 8839)
@@ -1,6 +1,7 @@
-make tests
+make
 ./tap_psArray_all
 ./tap_psListIterator
-./tap_psMetadataConfigParse
+./tap_psMetadataConfigParse_time
+./tap_psMetadataConfigRead
 ./tap_psMetadata_copying
 ./tap_psMetadata_creating
@@ -12,2 +13,3 @@
 ./tap_psMetadata_polynomials
 ./tap_psArguments_all
+./tap_psPixels_all
