src/lib/seqOut.c 1.28
1.28 2009/08/21 18:39:59 angie
Added bafFlushLineNoHr for more compact side-by-side alignment display.
Index: src/lib/seqOut.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/seqOut.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -B -U 4 -r1.27 -r1.28
--- src/lib/seqOut.c 26 Mar 2007 18:11:48 -0000 1.27
+++ src/lib/seqOut.c 21 Aug 2009 18:39:59 -0000 1.28
@@ -312,14 +312,20 @@
baf->hLineStart = baf->hCurPos;
}
}
-void bafFlushLine(struct baf *baf)
-/* Write out alignment line if it has any characters in it. */
+void bafFlushLineNoHr(struct baf *baf)
+/* Write out alignment line if it has any characters in it (no <HR>). */
{
if (baf->cix > 0)
bafWriteLine(baf);
fflush(baf->out);
-fprintf(baf->out, "<HR ALIGN=\"CENTER\">");
baf->cix = 0;
}
+void bafFlushLine(struct baf *baf)
+/* Write out alignment line if it has any characters in it, and an <HR>. */
+{
+bafFlushLineNoHr(baf);
+fprintf(baf->out, "<HR ALIGN=\"CENTER\">");
+}
+