Skip to content
Snippets Groups Projects
Commit 987d1b0d authored by Magali Ruffier's avatar Magali Ruffier
Browse files

couple more methods tested

parent b27c653a
No related branches found
No related tags found
No related merge requests found
......@@ -531,6 +531,12 @@ $analysis = $aa->fetch_by_logic_name('RepeatMask');
@genes = @{ $ga->fetch_all_by_exon_supporting_evidence('BF346221.1', 'dna_align_feature', $analysis) };
is(scalar(@genes), 0, "No genes for random analysis");
#
# test GeneAdaptor::fetch_all_by_logic_name
#
@genes = @{ $ga->fetch_all_by_logic_name('ensembl') };
is(scalar(@genes), 21, "All genes of analysis ensembl");
#
# test GeneAdaptor::fetch_all_by_GOTerm
......@@ -919,6 +925,11 @@ $ga->update($gene);
$gene = $ga->fetch_by_stable_id('ENSG00000355555');
ok($gene->is_current == 1);
$ga->remove_by_Slice($slice);
$geneCount = $ga->count_all_by_Slice($slice);
is($geneCount, 0, "Genes have been removed");
$multi->restore;
SKIP: {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment