JAL-1632 removed check for aligned sequences for Tree calculation
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 12 Apr 2017 14:46:35 +0000 (15:46 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 12 Apr 2017 14:46:35 +0000 (15:46 +0100)
src/jalview/gui/AlignFrame.java

index 8fc106f..bed434d 100644 (file)
@@ -3654,21 +3654,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
     }
     else
     {
-      // are the visible sequences aligned?
-      if (!viewport.getAlignment().isAligned(false))
-      {
-        JvOptionPane
-                .showMessageDialog(
-                        Desktop.desktop,
-                        MessageManager
-                                .getString("label.sequences_must_be_aligned_before_creating_tree"),
-                        MessageManager
-                                .getString("label.sequences_not_aligned"),
-                        JvOptionPane.WARNING_MESSAGE);
-
-        return;
-      }
-
       if (viewport.getAlignment().getHeight() < 2)
       {
         return;