src/hg/hgc/hgc.c 1.1575
1.1575 2009/09/24 23:15:42 hiram
Settle on a single function to determine chainNormScoreDb()
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1574
retrieving revision 1.1575
diff -b -B -U 4 -r1.1574 -r1.1575
--- src/hg/hgc/hgc.c 24 Sep 2009 23:05:10 -0000 1.1574
+++ src/hg/hgc/hgc.c 24 Sep 2009 23:15:42 -0000 1.1575
@@ -2794,13 +2794,9 @@
printf("<B>Approximate Score within browser window:</B> %1.0f<BR>\n",
subSetScore);
printf("<BR>Fields above refer to entire chain or gap, not just the part inside the window.<BR>\n");
-boolean normScoreAvailable = FALSE;
-char * normScoreTest =
- trackDbSettingClosestToHomeOrDefault(tdb, "chainNormScoreAvailable", "no");
-if (differentWord(normScoreTest, "no"))
- normScoreAvailable = TRUE;
+boolean normScoreAvailable = chainDbNormScoreAvailable(tdb);
if (normScoreAvailable)
{
char query[256];