[Debian-med-packaging] Bug#720776: weird results with perl 5.18

olivier.sallou at codeless.fr olivier.sallou at codeless.fr
Mon Aug 26 09:11:10 UTC 2013


I see a test failing in t/Ontology/IO/obo.t line 47 at is
(scalar(@terms), 5), used to work in a previous perl release:

Code of test:

my $parser = Bio::OntologyIO->new(
                      -format    => "obo",
^I^I      -file      => test_input_file('so.obo'));

my $ont = $parser->next_ontology();
ok ($ont);
is ($ont->name(), "sequence");

my @roots = $ont->get_root_terms();
is (scalar(@roots), 1);
is ($roots[0]->name(), "Sequence_Ontology");
is ($roots[0]->identifier(), "SO:0000000");

my @terms = $ont->get_child_terms($roots[0]);
is (scalar(@terms), 5);

According previous tests, root ontology is correctly found in  file (and
code did not changed, it is only perl update).
though only 2 child terms are found (test result) while 5 are in the
file. Seems ontology parsing fail with new release. Upstream at CPAN
successfully build on  perl 5.18.0.

Could it be a dependency issue? To be investigated.

-- 
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



More information about the Debian-med-packaging mailing list