From 2106c65bdae427b0b311f6dea60f337e1f601613 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Fri, 21 Aug 2015 11:27:19 +0100 Subject: [PATCH] JAL-1443 bug fix for loading pasted alignments from clipboard via the file loader --- src/jalview/io/FileLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/FileLoader.java b/src/jalview/io/FileLoader.java index 65f2a57..870d438 100755 --- a/src/jalview/io/FileLoader.java +++ b/src/jalview/io/FileLoader.java @@ -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()) -- 1.7.10.2