JAL-1443 bug fix for loading pasted alignments from clipboard via the file loader
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 21 Aug 2015 10:27:19 +0000 (11:27 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 21 Aug 2015 10:27:19 +0000 (11:27 +0100)
src/jalview/io/FileLoader.java

index 65f2a57..870d438 100755 (executable)
@@ -337,7 +337,7 @@ public class FileLoader implements Runnable
           }
         }
 
-        if ((al != null) && (al.getHeight() > 0))
+        if ((al != null) && (al.getHeight() > 0) && al.hasValidSequence())
         {
           // construct and register dataset sequences
           for (SequenceI sq : al.getSequences())