baec9333f717bfc31963b339185ce43fdd2a3bb0 max Tue Nov 22 18:23:23 2011 -0800 added copyright notice for elsevier t2g data diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c index 4ff016c..e8c4736 100644 --- src/hg/hgc/t2g.c +++ src/hg/hgc/t2g.c @@ -182,32 +182,34 @@ sqlFreeResult(&sr); return foundSkippedRows; } void printSeqInfo(struct sqlConnection* conn, char* trackTable, char* docId, char* item, char* seqName, int start, bool fileDesc, bool fasta) /* print sequences, split into two sections * two sections: one for sequences that were clicked, one for all others*/ { struct hash* clickedSeqs = getSeqIdHash(conn, trackTable, docId, item, seqName, start); bool skippedRows; skippedRows = printSeqSection(docId, "Sequences used to construct this feature", fileDesc, conn, clickedSeqs, 1, fasta); if (skippedRows) printSeqSection(docId, "Other Sequences in this article", fileDesc, conn, clickedSeqs, 0, fasta); - else - printf("<P>No more sequences found in this article<P>"); + //else + //printf("<P>No more sequences<P>"); + if (endsWith(trackTable, "Elsevier")) + printf("<P><SMALL>Article information and excerpts are Copyright 2011 Elsevier B.V. All rights reserved.</SMALL><P>"); freeHash(&clickedSeqs); } void printTrackVersion(struct trackDb *tdb, struct sqlConnection* conn, char* item) { char versionString[256]; char dateReference[256]; char headerTitle[512]; /* see if hgFixed.trackVersion exists */ boolean trackVersionExists = hTableExists("hgFixed", "trackVersion"); if (trackVersionExists) { char query[256];