From 739af71e996975bf2a620a03417c2fed7edad30d Mon Sep 17 00:00:00 2001 From: Tiago Grego <tgrego@ebi.ac.uk> Date: Mon, 11 Nov 2019 16:38:48 +0000 Subject: [PATCH] comment out diag statements in tests --- modules/t/translation.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/t/translation.t b/modules/t/translation.t index 9d139b8f08..d725035710 100644 --- a/modules/t/translation.t +++ b/modules/t/translation.t @@ -353,13 +353,14 @@ my $transcript_adaptor = $db->get_TranscriptAdaptor(); $transcript = $transcript_adaptor->fetch_by_stable_id("ENST00000217347"); $transcript->edits_enabled(1); -diag 'Before X insertion: ', explain($transcript->translate->seq()); +# diag 'Before X insertion: ', explain($transcript->translate->seq()); my $stop_codon_rt_edit = Bio::EnsEMBL::StopCodonReadthroughEdit->new(265); $transcript->translation->add_Attributes($stop_codon_rt_edit->get_Attribute()); my $translated_sequence = $transcript->translate->seq(); -diag 'After X insertion: ', explain($translated_sequence); +# diag 'After X insertion: ', explain($translated_sequence); + is($translated_sequence =~ /QEEXEE/, 1, 'X inserted'); is(length($transcript->translate->seq()), length($translated_sequence), 'Length of the sequence pre and post edit is equal'); -- GitLab