Subject: | bug in obo_text_parser |
in release 0.10, $ISOFORM was added to the initialization of @COLS, but
the upper index at the declaration was not increased, so it was ignored.
fixing this, subtest 4 of t/t070parseannot2obj.t results in 86 (as it
used to :-)
--- GO/Parsers/go_assoc_parser.pm 2010-05-14 03:29:05.000000000 +0200
+++ GO/Parsers/go_assoc_parser.pm 2010-05-31 15:47:48.992474420 +0200
@@ -94,7 +94,7 @@
my $obo_parser; # an OBO parser may be required for parsing the
PROPERTIES column
- my @COLS = (0..15);
+ my @COLS = (0..16);
my ($PRODDB,
$PRODACC,
$PRODSYMBOL,
--- t/t070parseannot2obj.t 2010-05-12 21:16:49.000000000 +0200
+++ t/t070parseannot2obj.t 2010-05-31 15:58:28.856165622 +0200
@@ -65,7 +65,7 @@
my $term = $graph->get_term('GO:0003673');
ok(!@{$term->association_list || []});
printf "annots: %d\n", scalar
@{$graph->deep_association_list('GO:0003673')};
-ok(@{$graph->deep_association_list('GO:0003673')} == 100);
+ok(@{$graph->deep_association_list('GO:0003673')} == 86);
#ok(@{$term->deep_association_list} == 86);
my $prods = $graph->deep_product_list($term->acc);