From: tcofoegbu Date: Fri, 21 Aug 2015 10:27:19 +0000 (+0100) Subject: JAL-1443 bug fix for loading pasted alignments from clipboard via the file loader X-Git-Tag: Release_2_10_0~525 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2106c65bdae427b0b311f6dea60f337e1f601613;p=jalview.git JAL-1443 bug fix for loading pasted alignments from clipboard via the file loader --- 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())