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=adec9fb17d62815a129eb2fb3723b709ac6a7e6d;hpb=656be28debec520e0e35a8b311114398a40ea366;p=jalview.git diff --git a/forester/java/src/org/forester/go/GoUtils.java b/forester/java/src/org/forester/go/GoUtils.java index adec9fb..fa08ef2 100644 --- a/forester/java/src/org/forester/go/GoUtils.java +++ b/forester/java/src/org/forester/go/GoUtils.java @@ -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 ) ); }