JAL-2490 refactored test for 'hasFeatures'
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 19 May 2017 15:46:41 +0000 (16:46 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 19 May 2017 15:46:41 +0000 (16:46 +0100)
src/jalview/io/FeaturesFile.java

index 48eeee3..fcf1d70 100755 (executable)
@@ -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);
       }