From: gmungoc Date: Fri, 19 May 2017 15:46:41 +0000 (+0100) Subject: JAL-2490 refactored test for 'hasFeatures' X-Git-Tag: Release_2_10_3b1~257 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9c007fa50a82b3ae0f987e6454ae17c941b63563;p=jalview.git JAL-2490 refactored test for 'hasFeatures' --- 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); }