src/hg/hgCustom/hgCustom.c 1.138

1.138 2010/02/11 00:42:12 angie
Suppress the '[db]' if db is contained in assembly label (dbDb.description). (Thx Ann!)
Index: src/hg/hgCustom/hgCustom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgCustom/hgCustom.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -b -B -U 4 -r1.137 -r1.138
--- src/hg/hgCustom/hgCustom.c	3 Feb 2010 18:48:58 -0000	1.137
+++ src/hg/hgCustom/hgCustom.c	11 Feb 2010 00:42:12 -0000	1.138
@@ -184,10 +184,13 @@
         }
     puts("   ");
     puts("assembly\n");
     printAssemblyListHtml(database, onChangeDb);
+    if (! stringIn(database, hFreezeFromDb(database)))
+	{
     puts("   ");
     printf("[%s]", database);
+	}
     puts("</TD></TR></TABLE>\n");
     }
 
 /* intro text */