Index: trunk/ippTools/src/pxchip.c
===================================================================
--- trunk/ippTools/src/pxchip.c	(revision 14059)
+++ trunk/ippTools/src/pxchip.c	(revision 14065)
@@ -75,4 +75,5 @@
     if (!chipRunInsert(config->dbh,
             0x0,
+            (psS64)atoll(exp_id),
             "run",      // state                
             workdir,
@@ -91,30 +92,4 @@
     }
 
-#if 0
-    // get the chip_id
-    long chip_id = psDBLastInsertID(config->dbh);
-#endif
-
-    // populate the chipInputImfile table from rawImfile based on exp_id,
-    // where the coresponding newExp.state entry is set to stop
-    psString query = pxDataGetCached("chiptool_queuerawimfile.sql");
-    if (!query) {
-        psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
-        return false;
-    }
-
-    // queue the imfiles for the exp_id
-    if (!p_psDBRunQuery(config->dbh, query, exp_id)) {
-        psError(PS_ERR_UNKNOWN, false, "database error");
-        return false;
-    }
-
-    // just to be safe, we should have changed at least one row
-    if (psDBAffectedRows(config->dbh) < 1) {
-        psError(PS_ERR_UNKNOWN, false,
-                "no rows affected - should have changed at least one row");
-        return false;
-    }
-
     // point of no return
     if (!psDBCommit(config->dbh)) {
Index: trunk/ippTools/src/pxtables.c
===================================================================
--- trunk/ippTools/src/pxtables.c	(revision 14059)
+++ trunk/ippTools/src/pxtables.c	(revision 14065)
@@ -63,5 +63,5 @@
     CREATE_TABLE(guidePendingExpCreateTable);
     CREATE_TABLE(chipRunCreateTable);
-    CREATE_TABLE(chipInputImfileCreateTable);
+//    CREATE_TABLE(chipInputImfileCreateTable);
     CREATE_TABLE(chipProcessedImfileCreateTable);
     CREATE_TABLE(chipMaskCreateTable);
@@ -144,5 +144,5 @@
     DROP_TABLE(guidePendingExpDropTable);
     DROP_TABLE(chipRunDropTable);
-    DROP_TABLE(chipInputImfileDropTable);
+//    DROP_TABLE(chipInputImfileDropTable);
     DROP_TABLE(chipProcessedImfileDropTable);
     DROP_TABLE(chipMaskDropTable);
