4d4719a1f453b3c1efb7c7ec5abfd26d4005553c
markd
  Tue Oct 15 17:33:55 2024 -0700
fixed incorrect assert added as sanity check during bigBlat work (#34406)

diff --git src/gfServer/gfServer.c src/gfServer/gfServer.c
index 0d765ae..9840131 100644
--- src/gfServer/gfServer.c
+++ src/gfServer/gfServer.c
@@ -500,44 +500,44 @@
 }
 
 static void pcrQuery(struct genoFind *gf, char *fPrimer, char *rPrimer, 
 	int maxDistance, int connectionHandle)
 /* Do PCR query and report results down socket. */
 {
 int fPrimerSize = strlen(fPrimer);
 int rPrimerSize = strlen(rPrimer);
 struct gfClump *clumpList, *clump;
 int clumpCount = 0;
 char buf[256];
 
 clumpList = gfPcrClumps(gf, fPrimer, fPrimerSize, rPrimer, rPrimerSize, 0, maxDistance);
 for (clump = clumpList; clump != NULL; clump = clump->next)
     {
-    assert((clump->qStart < clump->qEnd) && (clump->tStart < clump->tEnd));
+    assert(clump->tStart < clump->tEnd);
     struct gfSeqSource *ss = clump->target;
     safef(buf, sizeof(buf), "%s\t" GFOFFSET_FMT "\t" GFOFFSET_FMT "\t+", ss->fileName, 
         clump->tStart, clump->tEnd);
     errSendString(connectionHandle, buf);
     ++clumpCount;
     }
 gfClumpFreeList(&clumpList);
 
 clumpList = gfPcrClumps(gf, rPrimer, rPrimerSize, fPrimer, fPrimerSize, 0, maxDistance);
 
 for (clump = clumpList; clump != NULL; clump = clump->next)
     {
-    assert((clump->qStart < clump->qEnd) && (clump->tStart < clump->tEnd));
+    assert(clump->tStart < clump->tEnd);
     struct gfSeqSource *ss = clump->target;
     safef(buf, sizeof(buf), "%s\t" GFOFFSET_FMT "\t" GFOFFSET_FMT "\t-", ss->fileName, 
         clump->tStart, clump->tEnd);
     errSendString(connectionHandle, buf);
     ++clumpCount;
     }
 gfClumpFreeList(&clumpList);
 errSendString(connectionHandle, "end");
 logDebug("%lu PCR %s %s %d clumps", clock1000(), fPrimer, rPrimer, clumpCount);
 }
 
 
 static jmp_buf gfRecover;
 static char *ripCord = NULL;	/* A little memory to give back to system
                                  * during error recovery. */