0316cc96b78e2fc968c6d62b29527f464c51cdaf tdreszer Tue Jun 7 10:17:42 2011 -0700 Special case added for openChromSynth, because without it only the first 8 fields are described in hgTable schema. diff --git src/test/buildTableDescriptions.pl src/test/buildTableDescriptions.pl index 8648116..52618a6 100755 --- src/test/buildTableDescriptions.pl +++ src/test/buildTableDescriptions.pl @@ -285,30 +285,32 @@ my $tASRef = shift; my $fASRef = shift; confess "Too few arguments" if (! defined $fASRef); confess "Too many arguments" if (defined shift); # try standard types first, to save time (and avoid dupl's for std types). if ($fields eq $tASRef->{"psl"}->{fields}) { return $tASRef->{"psl"}; } elsif ($fields eq $tASRef->{"genePredExt"}->{fields}) { return $tASRef->{"genePredExt"}; } elsif ($fields eq $tASRef->{"genePred"}->{fields}) { return $tASRef->{"genePred"}; } elsif ($fields eq $tASRef->{"lfs"}->{fields}) { return $tASRef->{"lfs"}; } elsif ($fields eq $tASRef->{"genericNameValue"}->{fields}) { return $tASRef->{"genericNameValue"}; + } elsif ($fields eq $tASRef->{"openChromSynth"}->{fields}) { + return $tASRef->{"openChromSynth"}; } else { for (my $n=12; $n >= 3; $n--) { if ($fields eq $tASRef->{"bed$n"}->{fields}) { return $tASRef->{"bed$n"}; } } return $fASRef->{$fields}; } } # # parseGbdDescriptions: parse anchors and .as out of gbdDescriptions.html # sub parseGbdDescriptions {