Index: trunk/ppSub/src/ppSubReadoutUpdate.c
===================================================================
--- trunk/ppSub/src/ppSubReadoutUpdate.c	(revision 21360)
+++ trunk/ppSub/src/ppSubReadoutUpdate.c	(revision 21396)
@@ -6,6 +6,6 @@
  *
  *  @author IfA
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2009-02-06 01:37:17 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2009-02-07 00:15:00 $
  *  Copyright 2009 Institute for Astronomy, University of Hawaii
  */
@@ -29,6 +29,6 @@
     // Renormalising for pixels, because that's what magic desires
     if (!ppSubReadoutRenormPixels (config, recipe, outRO)) {
-	psError(PS_ERR_BAD_PARAMETER_VALUE, false, "failure in renormalization");
-	return false;
+        psError(PS_ERR_BAD_PARAMETER_VALUE, false, "failure in renormalization");
+        return false;
     }
 
@@ -48,5 +48,5 @@
     // Generate binned JPEGs
     {
-	psImageMaskType maskBad = pmConfigMaskGet("BLANK", config); // Bits to mask for bad pixels
+        psImageMaskType maskBad = pmConfigMaskGet("BLANK", config); // Bits to mask for bad pixels
 
         int bin1 = psMetadataLookupS32(NULL, recipe, "BIN1"); // First binning level
@@ -58,5 +58,5 @@
 
         pmReadout *ro1 = pmReadoutAlloc(cell1);
-	pmReadout *ro2 = pmReadoutAlloc(cell2); // Binned readouts
+        pmReadout *ro2 = pmReadoutAlloc(cell2); // Binned readouts
         if (!pmReadoutRebin(ro1, outRO, maskBad, bin1, bin1)) {
             psError(PS_ERR_UNKNOWN, false, "Unable to bin output (1st binning)");
@@ -79,5 +79,5 @@
     {
         psImage *sig = (psImage*)psBinaryOp(NULL, outRO->image, "*", outRO->image);
-        psBinaryOp(sig, sig, "/", outRO->weight);
+        psBinaryOp(sig, sig, "/", outRO->variance);
         psFits *fits = psFitsOpen("significance.fits", "w");
         psFitsWriteImage(fits, NULL, sig, 0, NULL);
