From 25c1dcfb9458b9d8dec481febf3ba758024effb4 Mon Sep 17 00:00:00 2001 From: Graham McVicker <mcvicker@sanger.ac.uk> Date: Wed, 9 Jun 2004 09:31:20 +0000 Subject: [PATCH] fixed test to reflect fact that seqedits are not currently enabled by default --- modules/t/translation.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/t/translation.t b/modules/t/translation.t index 789b62a582..2715ad9529 100644 --- a/modules/t/translation.t +++ b/modules/t/translation.t @@ -158,6 +158,8 @@ ok(count_rows($db, 'protein_feature') == $pfeat_count - $pfeat_minus); my $tr = $tra->fetch_by_stable_id( "ENST00000217347" ); +$tr->edits_enabled(1); + my $sc = Bio::EnsEMBL::SeqEdit->new(-START => 2, -END => 2, -ALT_SEQ => 'U', @@ -194,6 +196,8 @@ $attrAdaptor->store_on_Translation( $tl, $tl->get_all_Attributes() ); $tr = $tra->fetch_by_stable_id( "ENST00000217347" ); +$tr->edits_enabled(1); + $tlseq = $tr->translate->seq(); ok( $tlseq =~ /^.UUU/ ); -- GitLab