54a643b32015c6a4672bd540b4bf7a94a751e1ce markd Wed Feb 3 12:45:46 2021 -0800 added unit test of gfServer dynamic PCR diff --git src/gfServer/gfServer.c src/gfServer/gfServer.c index f5afe9a..af03e0b 100644 --- src/gfServer/gfServer.c +++ src/gfServer/gfServer.c @@ -1094,31 +1094,30 @@ char buf[4096]; int msgLen = vsnprintf(buf, sizeof(buf) - 1, msg, args); buf[msgLen] = '\0'; logError("%s", buf); printf("Error: %s\n", buf); } struct dynSession /* information on dynamic server connection session. This is all data * currently cached. If is not changed if the genome and query mode is the * same as the previous request. */ { boolean isTrans; // translated char genome[256]; // genome name - char gfIdxFile[PATH_LEN]; // index file location struct hash *perSeqMaxHash; // max hits per sequence struct genoFindIndex *gfIdx; // index }; static struct genoFindIndex *loadGfIndex(char *gfIdxFile, boolean isTrans) /* load index and set globals from it */ { struct genoFindIndex *gfIdx = genoFindIndexLoad(gfIdxFile, isTrans); struct genoFind *gf = isTrans ? gfIdx->transGf[0][0] : gfIdx->untransGf; minMatch = gf->minMatch; maxGap = gf->maxGap; tileSize = gf->tileSize; noSimpRepMask = gf->noSimpRepMask; allowOneMismatch = gf->allowOneMismatch; stepSize = gf->stepSize;