keep it as close with archy.js as possible...
[jalview.git] / forester / java / src / org / forester / sdi / GSDIR.java
index 52620a2..651383d 100644 (file)
@@ -73,7 +73,7 @@ public class GSDIR implements GSDII {
         }\r
         if ( gene_tree.getRoot().getNumberOfDescendants() == 2 ) {\r
             gene_tree_branches_post_order.add( new PhylogenyBranch( gene_tree.getRoot().getChildNode1(), gene_tree\r
-                    .getRoot().getChildNode2() ) );\r
+                                                                    .getRoot().getChildNode2() ) );\r
         }\r
         int min_duplications_sum = Integer.MAX_VALUE;\r
         int speciations_sum = 0;\r
@@ -188,7 +188,7 @@ public class GSDIR implements GSDII {
     /**\r
      * Places the root of this Phylogeny on Branch b. The new root is always\r
      * placed on the middle of the branch b.\r
-     * \r
+     *\r
      */\r
     static final void reRoot( final PhylogenyBranch b, final Phylogeny phy ) {\r
         final PhylogenyNode n1 = b.getFirstNode();\r
@@ -208,7 +208,7 @@ public class GSDIR implements GSDII {
         //        else if ( ( n1.getParent() != null ) && n1.getParent().isRoot()\r
         //                && ( ( n1.getParent().getChildNode1() == n2 ) || ( n1.getParent().getChildNode2() == n2 ) ) ) {\r
         //            phy.reRoot( n1 );\r
-        //           \r
+        //\r
         //        }\r
         else {\r
             throw new IllegalArgumentException( "reRoot( Branch b ): b is not a branch." );\r