Index: trunk/ippToPsps/config/schema_browser.vot
===================================================================
--- trunk/ippToPsps/config/schema_browser.vot	(revision 39028)
+++ trunk/ippToPsps/config/schema_browser.vot	(revision 39029)
@@ -134,10 +134,8 @@
      <TABLE name="WarpToImage"> </TABLE>
      <TABLE name="ForcedWarpToImage"> </TABLE>
-     <TABLE name="ForcedSummaryToImage"> </TABLE>
 
      <TABLE name="StackMeta"> </TABLE>
      <TABLE name="DiffMeta"> </TABLE>
      <TABLE name="ForcedWarpMeta"></TABLE>
-     <TABLE name="ForcedSummaryMeta"></TABLE>
      
      <TABLE name="ImageDetEffMeta"> </TABLE>
Index: trunk/ippToPsps/config/tables.FG.vot
===================================================================
--- trunk/ippToPsps/config/tables.FG.vot	(revision 39028)
+++ trunk/ippToPsps/config/tables.FG.vot	(revision 39029)
@@ -3,29 +3,4 @@
 <VOTABLE version="1.1">
   <RESOURCE>
-    <TABLE name="ForcedSummaryMeta">
-      <DESCRIPTION>Contains the metadata linking the stacked image used to generate sources to the summary of the single epoch forced warp photometry.</DESCRIPTION>
-      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
-      <FIELD name="forcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-        <DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="batchID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Internal database batch identifier.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="surveyID" arraysize="1" datatype="unsignedByte" unit="dimensionless" default="NA">
-        <DESCRIPTION>Survey identifier.  Details in the Survey table.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="filterID" arraysize="1" datatype="unsignedByte" unit="dimensionless" default="NA">
-        <DESCRIPTION>Filter identifier.  Details in the Filter table.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="stackMetaID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique stack identifier.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="processingVersion" arraysize="1" datatype="unsignedByte" unit="dimensionless" default="NA">
-        <DESCRIPTION>Data release version.</DESCRIPTION>
-      </FIELD>
-      <DATA>
-        <TABLEDATA></TABLEDATA>
-      </DATA>
-    </TABLE>
     <TABLE name="ForcedGalaxyShape">
       <DESCRIPTION>Contains the extended source galaxy shape parameters.  All filters are matched into a single row.  References:  Sersic, J. L. 1963, Boletin de la Asociacion Argentina de Astronomia La Plata Argentina, 6, 41.</DESCRIPTION>
@@ -53,6 +28,6 @@
         <DESCRIPTION>IPP internal detection identifier.</DESCRIPTION>
       </FIELD>
-      <FIELD name="gforcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
+      <FIELD name="gstackImageID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
+	<DESCRIPTION>Unique stack identifier for the g filter stack that was the original detection source.</DESCRIPTION>
       </FIELD>
       <FIELD name="gGalMajor" arraysize="1" datatype="float" unit="arcsec" default="-999">
@@ -81,6 +56,6 @@
         <DESCRIPTION>IPP internal detection identifier.</DESCRIPTION>
       </FIELD>
-      <FIELD name="rforcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
+      <FIELD name="rstackImageID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
+	<DESCRIPTION>Unique stack identifier for the r filter stack that was the original detection source.</DESCRIPTION>
       </FIELD>
       <FIELD name="rGalMajor" arraysize="1" datatype="float" unit="arcsec" default="-999">
@@ -110,5 +85,5 @@
       </FIELD>
       <FIELD name="iforcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
+	<DESCRIPTION>Unique stack identifier for the i filter stack that was the original detection source.</DESCRIPTION>
       </FIELD>
       <FIELD name="iGalMajor" arraysize="1" datatype="float" unit="arcsec" default="-999">
@@ -137,6 +112,6 @@
         <DESCRIPTION>IPP internal detection identifier.</DESCRIPTION>
       </FIELD>
-      <FIELD name="zforcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
+      <FIELD name="zstackImageID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
+	<DESCRIPTION>Unique stack identifier for the z filter stack that was the original detection source.</DESCRIPTION>
       </FIELD>
       <FIELD name="zGalMajor" arraysize="1" datatype="float" unit="arcsec" default="-999">
@@ -165,6 +140,6 @@
         <DESCRIPTION>IPP internal detection identifier.</DESCRIPTION>
       </FIELD>
-      <FIELD name="yforcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-	<DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
+      <FIELD name="ystackImageID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
+	<DESCRIPTION>Unique stack identifier for the z filter stack that was the original detection source.</DESCRIPTION>
       </FIELD>
       <FIELD name="yGalMajor" arraysize="1" datatype="float" unit="arcsec" default="-999">
@@ -193,17 +168,4 @@
       </DATA>
     </TABLE>
-    <TABLE name="ForcedSummaryToImage">
-      <DESCRIPTION>Contains the mapping of which input images were used for the forced photometry summary.</DESCRIPTION>
-      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
-      <FIELD name="forcedSummaryID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-        <DESCRIPTION>Unique forced warp summary identifier.</DESCRIPTION>
-      </FIELD>
-      <FIELD name="imageID" arraysize="1" datatype="long" unit="dimensionless" default="NA">
-        <DESCRIPTION>Unique image identifier.  Constructed as (100 * frameID + ccdID).</DESCRIPTION>
-      </FIELD>
-      <DATA>
-        <TABLEDATA></TABLEDATA>
-      </DATA>
-    </TABLE>
    </RESOURCE>
 </VOTABLE>
Index: trunk/ippToPsps/jython/forcedgalaxybatch.py
===================================================================
--- trunk/ippToPsps/jython/forcedgalaxybatch.py	(revision 39028)
+++ trunk/ippToPsps/jython/forcedgalaxybatch.py	(revision 39029)
@@ -153,5 +153,5 @@
             sqlLine = sqlUtility("UPDATE ForcedGalaxyShape AS a, " + cpqTable + " AS b SET")
             sqlLine.group("a." + filter[1] + "ippDetectID",     "b.DET_ID")
-            sqlLine.group("a." + filter[1] + "forcedSummaryID", "b.IMAGE_ID")
+            sqlLine.group("a." + filter[1] + "stackImageID",    "b.IMAGE_ID")
             sqlLine.group("a." + filter[1] + "GalMajor",        "b.MAJOR_AXIS")
             sqlLine.group("a." + filter[1] + "GalMajorErr",     "b.MAJOR_AXIS_ERR")
Index: trunk/ippToPsps/jython/forcedwarpbatch.py
===================================================================
--- trunk/ippToPsps/jython/forcedwarpbatch.py	(revision 39028)
+++ trunk/ippToPsps/jython/forcedwarpbatch.py	(revision 39029)
@@ -646,59 +646,4 @@
 
 
-#     '''
-#     Populate the ForcedSummaryMeta table, which should be fairly easy as it contains very little.
-#     '''
-#     def populateForcedSummaryMeta(self,num):
-#         forcedSummaryID = self.number[num]
-#         self.logger.infoPair("Processing table", "ForcedSummaryMeta_"+forcedSummaryID)
-
-#         sql = "CREATE TABLE ForcedSummaryMeta_"+forcedSummaryID+" LIKE ForcedSummaryMeta"
-#         try: self.scratchDb.execute(sql)
-#         except: pass
-
-#         header = self.header[num]
-#         self.logger.infoPair("found header", "ok")
-
-#         sqlLine = sqlUtility("INSERT INTO ForcedSummaryMeta_"+forcedSummaryID+" (")
-        
-#         sqlLine.group("forcedSummaryID", forcedSummaryID)
-#         sqlLine.group("batchID",         str(self.batchID))
-#         sqlLine.group("surveyID",        str(self.surveyID))
-#         sqlLine.group("filterID",        str(self.filterID))
-#         sqlLine.group("stackMetaID", self.stackID[num])
-#         sqlLine.group("processingVersion", str(self.skychunk.processingVersion))
-
-
-#         sql = sqlLine.make(") VALUES ( ", ")")
-
-#         try: self.scratchDb.execute(sql)
-#         except:
-#             self.logger.errorPair('failed sql: ', sql)
-#             raise
-        
-#     # End populateForcedSummaryMeta?
-
-#     '''
-#     Populate the ForcedSummaryToImage table, which has even less.
-#     '''
-#     def populateForcedSummaryToImage(self,num):
-#         forcedSummaryID = self.number[num]
-#         self.logger.infoPair("Processing table", "ForcedSummaryToImage_"+str(forcedSummaryID))
-
-#         sql = "CREATE TABLE ForcedSummaryToImage_"+str(forcedSummaryID)+" LIKE ForcedSummaryToImage"
-#         try: self.scratchDb.execute(sql)
-#         except: pass
-
-#         if forcedSummaryID > 0:
-#             imageIDs = self.gpc1Db.getImageIDsForThisForcedSummaryID(forcedSummaryID)
-#             for imageID in imageIDs:
-#                 sql = "INSERT INTO ForcedWarpSummaryToImage_"+str(forcedSummaryID)+" (forcedSummaryId, imageID) VALUES (" + str(forcedSummaryID) + ", " + str(imageID) + ")"
-#                 try: self.scratchDb.execute(sql)
-#                 except:
-#                     self.logger.infoPair("can't execute sql", sql)
-#                     raise
-
-#     # End populateForcedSummaryToImage?
-
 
     '''
