7168a861831f3ae2c2f36d302a28f9e3f5cf4f64 tdreszer Tue Jun 7 11:30:38 2011 -0700 After some tests, I think buildTableDescriptions will finally understand what to do with OpenChromSynth tables diff --git src/test/buildTableDescriptions.pl src/test/buildTableDescriptions.pl index 52618a6..d150093 100755 --- src/test/buildTableDescriptions.pl +++ src/test/buildTableDescriptions.pl @@ -285,32 +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"}; + } elsif ($fields eq $tASRef->{"openChromCombinedPeaks"}->{fields}) { + return $tASRef->{"openChromCombinedPeaks"}; } 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 {