X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fgo%2FGoUtils.java;h=fa08ef2b16177d52e5e41998a861d6d1dc49aaee;hb=b71613d9a558ddfaf8f23b33d6a64d8905fd0ac6;hp=39a778f3ca170106252970d07b93a3312cbe7dac;hpb=eee996a6476a1e3d84c07f8f690dcde3ff4b2ef5;p=jalview.git diff --git a/forester/java/src/org/forester/go/GoUtils.java b/forester/java/src/org/forester/go/GoUtils.java index 39a778f..fa08ef2 100644 --- a/forester/java/src/org/forester/go/GoUtils.java +++ b/forester/java/src/org/forester/go/GoUtils.java @@ -21,7 +21,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA // // Contact: phylosoft @ gmail . com -// WWW: www.phylosoft.org/forester +// WWW: https://sites.google.com/site/cmzmasek/home/software/forester package org.forester.go; @@ -50,9 +50,9 @@ public final class GoUtils { /** * This is for counting the how many times each GO term in 'categories' - * is a (direct or indirect) super term of the GO terms in 'experiment_set'. - * - * + * is a (direct or indirect) super term of the GO terms in 'experiment_set'. + * + * * @param categories the set of super terms to be counted * @param experiment_set the list of GO terms to be analyzed * @param all_go_terms all terms in the ontology @@ -160,7 +160,7 @@ public final class GoUtils { penultimate = my_go_term; if ( !map.containsKey( my_go_term.getSuperGoIds().get( 0 ) ) ) { throw new IllegalArgumentException( "GO-id [" + my_go_term.getSuperGoIds().get( 0 ) - + "] not found in map" ); + + "] not found in map" ); } my_go_term = map.get( my_go_term.getSuperGoIds().get( 0 ) ); } @@ -172,7 +172,7 @@ public final class GoUtils { while ( ( my_go_term.getSuperGoIds() != null ) && ( my_go_term.getSuperGoIds().size() > 0 ) ) { if ( !map.containsKey( my_go_term.getSuperGoIds().get( 0 ) ) ) { throw new IllegalArgumentException( "GO-id [" + my_go_term.getSuperGoIds().get( 0 ) - + "] not found in map" ); + + "] not found in map" ); } my_go_term = map.get( my_go_term.getSuperGoIds().get( 0 ) ); }