src/test/buildTableDescriptions.pl 1.44
1.44 2010/04/13 17:16:50 angie
Remove check for canonical db name format -- vestige from when hgwdev had dozens of Lowe lab databases. New db names e.g. felCatV17e don't fit the old regex, but having active=1 in dbDb is good enough.
Index: src/test/buildTableDescriptions.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/test/buildTableDescriptions.pl,v
retrieving revision 1.43
retrieving revision 1.44
diff -b -B -U 4 -r1.43 -r1.44
--- src/test/buildTableDescriptions.pl 19 Jun 2009 18:05:24 -0000 1.43
+++ src/test/buildTableDescriptions.pl 13 Apr 2010 17:16:50 -0000 1.44
@@ -378,14 +378,8 @@
my @auxDbs = ('hgFixed', 'proteome');
my @dbs = (defined $opt_db) ? split(',', $opt_db) :
(&getActiveDbs($hgConf), @auxDbs);
foreach my $db (@dbs) {
- if (($db !~ /^(\w\w\d+|\w\w\w\w\w\w\d+|caePb\d+|hiv.*)$/ &&
- (scalar(grep {$_ eq $db} @auxDbs) == 0)) ||
- $db =~ /^zoo/) {
- print "Skipping database $db.\n";
- next;
- }
my $sqlFile = "$db.tableDescriptions.sql";
open(SQL, ">$sqlFile") || die "Can't open $sqlFile for writing";
print SQL "use $db;\n";
print SQL "drop table if exists tableDescriptions;";