src/hg/lib/pcrResult.c 1.12
1.12 2010/05/11 01:43:30 kent
Refactoring to split the trackDb.tableName field into separate track and table fields. Similarly track.mapName field goes to the same track and table fields.
Index: src/hg/lib/pcrResult.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/pcrResult.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/hg/lib/pcrResult.c 22 Dec 2008 21:06:01 -0000 1.11
+++ src/hg/lib/pcrResult.c 11 May 2010 01:43:30 -0000 1.12
@@ -147,9 +147,10 @@
/* Construct a trackDb record for PCR Results track. */
{
struct trackDb *tdb;
AllocVar(tdb);
-tdb->tableName = cloneString(PCR_RESULT_TRACK_NAME);
+tdb->track = cloneString(PCR_RESULT_TRACK_NAME);
+tdb->table = cloneString(PCR_RESULT_TRACK_NAME);
tdb->shortLabel = cloneString(PCR_RESULT_TRACK_LABEL);
tdb->longLabel = cloneString(PCR_RESULT_TRACK_LONGLABEL);
tdb->grp = cloneString("map");
tdb->type = cloneString("psl .");