gsdi work
[jalview.git] / forester / java / src / org / forester / sdi / RIO.java
index d2c79ee..4db4648 100644 (file)
@@ -7,7 +7,7 @@
 // Copyright (C) 2000-2001 Washington University School of Medicine
 // and Howard Hughes Medical Institute
 // All rights reserved
-// 
+//
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -17,7 +17,7 @@
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 // Lesser General Public License for more details.
-// 
+//
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
@@ -231,9 +231,10 @@ public final class RIO {
      * @param query
      *            the sequence name of the squence whose orthologs are to be
      *            inferred
+     * @throws SdiException 
      */
     public void inferOrthologs( final File gene_trees_file, final Phylogeny species_tree, final String query )
-            throws IOException {
+            throws IOException, SdiException {
         int bs = 0;
         if ( RIO.TIME ) {
             _time = System.currentTimeMillis();
@@ -281,7 +282,8 @@ public final class RIO {
 
     // Helper method which performs the actual ortholog inference for
     // the external node with seqname query.
-    private void inferOrthologsHelper( final Phylogeny gene_tree, final Phylogeny species_tree, final String query ) {
+    private void inferOrthologsHelper( final Phylogeny gene_tree, final Phylogeny species_tree, final String query )
+            throws SdiException {
         Phylogeny assigned_tree = null;
         List<PhylogenyNode> nodes = null;
         final SDIR sdiunrooted = new SDIR();