src/hg/hgBlat/hgBlat.c 1.125
1.125 2009/02/18 22:45:09 galt
prevent apache cgi timeout by outputting something, also fixed reversed closing tags
Index: src/hg/hgBlat/hgBlat.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgBlat/hgBlat.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -b -B -U 4 -r1.124 -r1.125
--- src/hg/hgBlat/hgBlat.c 3 Sep 2008 19:18:47 -0000 1.124
+++ src/hg/hgBlat/hgBlat.c 18 Feb 2009 22:45:09 -0000 1.125
@@ -272,9 +272,9 @@
if (!sameString(output, "psl no header"))
pslxWriteHead(stdout, qType, tType);
for (psl = pslList; psl != NULL; psl = psl->next)
pslTabOut(psl, stdout);
- printf("</TT></PRE>");
+ printf("</PRE></TT>");
}
else
{
printf("<H2>BLAT Search Results</H2>");
@@ -296,9 +296,9 @@
100.0 - pslCalcMilliBad(psl, TRUE) * 0.1,
skipChr(psl->tName), psl->strand, psl->tStart+1, psl->tEnd,
psl->tEnd - psl->tStart);
}
- printf("</TT></PRE>");
+ printf("</PRE></TT>");
}
pslFreeList(&pslList);
}
@@ -537,8 +537,9 @@
/* Loop through each sequence. */
for (seq = seqList; seq != NULL; seq = seq->next)
{
+ printf(" "); fflush(stdout); /* prevent apache cgi timeout by outputting something */
hgBotDelay();
oneSize = realSeqSize(seq, !isTx);
if (++seqCount > maxSeqCount)
{