From 0a502231a61fbbdb07ef53be11905875f0bb96ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Carn=C3=AB=20Draug?= Date: Mon, 11 Feb 2019 13:50:55 +0000 Subject: [PATCH] SeqUtils.t: avoid deprecated usage of add_SeqFeature --- t/SeqTools/SeqUtils.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/SeqTools/SeqUtils.t b/t/SeqTools/SeqUtils.t index dec7ee16e..ff8870c47 100644 --- a/t/SeqTools/SeqUtils.t +++ b/t/SeqTools/SeqUtils.t @@ -387,7 +387,10 @@ my $feature6 = Bio::SeqFeature::Generic->new( -start => 11, -end => 25 ); -$seq_obj->add_SeqFeature( $composite_feat1, $feature1, $feature2, $feature3, $feature4, $feature5, $feature6); + +$seq_obj->add_SeqFeature($_) + foreach ($composite_feat1, $feature1, $feature2, $feature3, + $feature4, $feature5, $feature6); my $coll = Bio::Annotation::Collection->new; $coll->add_Annotation( -- 2.11.4.GIT