diff --git a/modules/Bio/EnsEMBL/Utils/Scalar.pm b/modules/Bio/EnsEMBL/Utils/Scalar.pm index 6422e76240da95dc5d9136801086a41ec088c351..f4b792223393e94fbcd982fc3a7ba6045c73a36b 100644 --- a/modules/Bio/EnsEMBL/Utils/Scalar.pm +++ b/modules/Bio/EnsEMBL/Utils/Scalar.pm @@ -118,10 +118,10 @@ BEGIN { } else { *check_ref = \&check_ref_pp; *assert_ref = \&assert_ref_pp; - # *assert_numeric = \&assert_numeric_pp; - # *assert_integer = \&assert_integer_pp; } - + + *assert_numeric = \&assert_numeric_pp; + *assert_integer = \&assert_integer_pp; } diff --git a/modules/t/altAlleleGroup.t b/modules/t/altAlleleGroup.t index f7747e1d7dd79a9b7dc7e62011b609785157aa96..b8be460a9e1baadd0630cac37f1e901ab01ce0e3 100644 --- a/modules/t/altAlleleGroup.t +++ b/modules/t/altAlleleGroup.t @@ -98,8 +98,8 @@ my $gene = $aag->get_representative_Gene; is($gene->stable_id, 'ENSG00000131044',"Ensure both correct instantiation of Gene and ID thereof"); #Checking we can filter the members list by a gene object and an ID -is_deeply($aag->get_all_Gene_ids(undef, [18259]), [18256, 18257,18258,18259], 'Filtering out a Gene by ID'); -is_deeply($aag->get_all_Gene_ids(undef, [$ga->fetch_by_dbID(18259)]), [18256, 18257,18258,18259], 'Filtering out a Gene by object'); +is_deeply($aag->get_all_Gene_ids(undef, [18259]), [18256, 18257,18258], 'Filtering out a Gene by ID'); +is_deeply($aag->get_all_Gene_ids(undef, [$ga->fetch_by_dbID(18259)]), [18256, 18257,18258], 'Filtering out a Gene by object'); my $gene_list = $aag->get_all_Genes; $gene = $gene_list->[0];