From 34931829ea2c73098c1e34d6bab476255e554343 Mon Sep 17 00:00:00 2001 From: ens-carlos <ens-carlos@users.noreply.github.com> Date: Fri, 1 Dec 2017 09:24:04 +0000 Subject: [PATCH] Update BaseAlignFeature.pm --- modules/Bio/EnsEMBL/BaseAlignFeature.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/BaseAlignFeature.pm b/modules/Bio/EnsEMBL/BaseAlignFeature.pm index a6be1f65ef..ddc8da91ae 100644 --- a/modules/Bio/EnsEMBL/BaseAlignFeature.pm +++ b/modules/Bio/EnsEMBL/BaseAlignFeature.pm @@ -678,7 +678,7 @@ sub _parse_ensembl_features { if (ref($features) ne "ARRAY") { throw("features must be an array reference not a [".ref($features)."]"); - } elsif (scalar(@$features) <= 0) { + } elsif (scalar(@$features) == 0) { throw("features array must not be empty"); } -- GitLab