f84661314839764efb9dd1a74f23a498357e6716 angie Tue Jun 14 15:07:26 2011 -0700 Bug #4302 (link in table schema for BAM files gives a 404):Fixed broken link to SAM spec, and removed dead code (that had the correct link but is no longer exercised). diff --git src/hg/hgTables/bam.c src/hg/hgTables/bam.c index 053dd91..f1c63b3 100644 --- src/hg/hgTables/bam.c +++ src/hg/hgTables/bam.c @@ -345,31 +345,31 @@ } void showSchemaBam(char *table) /* Show schema on bam. */ { struct sqlConnection *conn = hAllocConn(database); char *fileName = bamFileName(table, conn, NULL); struct asObject *as = bamAsObj(); hPrintf("<B>Database:</B> %s", database); hPrintf(" <B>Primary Table:</B> %s<br>", table); hPrintf("<B>BAM File:</B> %s", fileName); hPrintf("<BR>\n"); hPrintf("<B>Format description:</B> %s<BR>", as->comment); hPrintf("See the <A HREF=\"%s\" target=_blank>SAM Format Specification</A> for more details<BR>\n", - "http://samtools.sourceforge.net/SAM-1.3.pdf"); + "http://samtools.sourceforge.net/SAM1.pdf"); /* Put up table that describes fields. */ hTableStart(); hPrintf("<TR><TH>field</TH>"); hPrintf("<TH>description</TH> "); puts("</TR>\n"); struct asColumn *col; int colCount = 0; for (col = as->columnList; col != NULL; col = col->next) { hPrintf("<TR><TD><TT>%s</TT></TD>", col->name); hPrintf("<TD>%s</TD></TR>", col->comment); ++colCount; } hTableEnd();