From a6d3a49ba51b969a787ddb94f07e8a8e0f0956f0 Mon Sep 17 00:00:00 2001 From: Glenn Proctor <gp1@sanger.ac.uk> Date: Mon, 13 Feb 2006 13:05:17 +0000 Subject: [PATCH] Remove deprecation error. --- modules/t/regulatoryFeatureAdaptor.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/t/regulatoryFeatureAdaptor.t b/modules/t/regulatoryFeatureAdaptor.t index 8afdfb9336..06fc76e96e 100644 --- a/modules/t/regulatoryFeatureAdaptor.t +++ b/modules/t/regulatoryFeatureAdaptor.t @@ -65,7 +65,9 @@ my $rf = Bio::EnsEMBL::RegulatoryFeature->new(-name => 'hsa-miR-108', -factor => $factor, -adaptor => $rfa); -$rfa->store($rf, $transcript, 'positive', 'some evidience'); +my @obj = [$transcript, 'positive', 'some evidence']; + +$rfa->store($rf, \@obj); ok($rf->dbID && $rf->adaptor()); -- GitLab