src/hg/utils/tdbQuery/tdbQuery.c 1.29
1.29 2010/02/06 21:43:03 kent
Changing 'subTrack' to 'parent' internally. A backwards compatability routine will make it so either tag can be used in a trackDb file.
Index: src/hg/utils/tdbQuery/tdbQuery.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/tdbQuery/tdbQuery.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -B -U 4 -r1.28 -r1.29
--- src/hg/utils/tdbQuery/tdbQuery.c 5 Feb 2010 01:12:39 -0000 1.28
+++ src/hg/utils/tdbQuery/tdbQuery.c 6 Feb 2010 21:43:03 -0000 1.29
@@ -961,16 +961,16 @@
{
struct lm *lm = lmInit(0);
struct dbPath *p = dbOrder->val;
char *db = p->db;
- struct tdbRecord *recordList = tdbsForDbPath(p, lm, "subTrack", clAlpha);
+ struct tdbRecord *recordList = tdbsForDbPath(p, lm, "parent", clAlpha);
verbose(2, "Composed %d records from %s\n", slCount(recordList), db);
- inheritFromParents(recordList, "subTrack", "noInherit", clAlpha, lm);
+ inheritFromParents(recordList, "parent", "noInherit", clAlpha, lm);
recordList = filterOnRelease(recordList, clAlpha);
verbose(2, "After filterOnRelease %d records\n", slCount(recordList));
- linkUpParents(recordList, "subTrack", clAlpha);
+ linkUpParents(recordList, "parent", clAlpha);
checkDupeKeys(recordList, FALSE);
overridePrioritiesAndVisibilities(recordList, p, lm);