From 9c007fa50a82b3ae0f987e6454ae17c941b63563 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 19 May 2017 16:46:41 +0100 Subject: [PATCH] JAL-2490 refactored test for 'hasFeatures' --- src/jalview/io/FeaturesFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/FeaturesFile.java b/src/jalview/io/FeaturesFile.java index 48eeee3..fcf1d70 100755 --- a/src/jalview/io/FeaturesFile.java +++ b/src/jalview/io/FeaturesFile.java @@ -282,7 +282,7 @@ public class FeaturesFile extends AlignFile implements FeaturesSourceI */ for (SequenceI newseq : newseqs) { - if (newseq.getSequenceFeatures() != null) + if (newseq.getFeatures().hasFeatures()) { align.addSequence(newseq); } -- 1.7.10.2