src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 1.20

1.20 2009/03/06 21:10:05 tdreszer
Protocols are now pdfs not docs
Index: src/hg/encode/hgEncodeVocab/hgEncodeVocab.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/hgEncodeVocab/hgEncodeVocab.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -b -B -U 4 -r1.19 -r1.20
--- src/hg/encode/hgEncodeVocab/hgEncodeVocab.c	4 Mar 2009 06:57:34 -0000	1.19
+++ src/hg/encode/hgEncodeVocab/hgEncodeVocab.c	6 Mar 2009 21:10:05 -0000	1.20
@@ -205,9 +205,9 @@
 
     /* add link to protocol doc if it exists */
 #define PROTOCOL_DIR "/ENCODE/protocols/cell/"
     char protocolUrl[PATH_LEN];
-    safef(protocolUrl, sizeof(protocolUrl), "%s/%s_protocol.doc", PROTOCOL_DIR, term);
+    safef(protocolUrl, sizeof(protocolUrl), "%s/%s_protocol.pdf", PROTOCOL_DIR, term);
     char protocolFile[PATH_LEN];
     safef(protocolFile, sizeof(protocolFile), "%s%s", hDocumentRoot(), protocolUrl);
     if (fileExists(protocolFile))
         printf(" <TD><A STYLE=\"text-decoration:none\"HREF=%s TARGET=_BLANK>%s</A></TD>\n", protocolUrl, term);