X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fgo%2FBasicGoXRef.java;h=548a7a6a96621fbc4d2d5ce9be08f1d304f6fc7f;hb=663daba455e534e015bd56bae070e9248e3a4533;hp=b877bb4212c722ab69408cac3f504792924816d2;hpb=f56cb8f21fffb174eed6b72ff016e1db2f69dcd4;p=jalview.git diff --git a/forester/java/src/org/forester/go/BasicGoXRef.java b/forester/java/src/org/forester/go/BasicGoXRef.java index b877bb4..548a7a6 100644 --- a/forester/java/src/org/forester/go/BasicGoXRef.java +++ b/forester/java/src/org/forester/go/BasicGoXRef.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; @@ -100,7 +100,7 @@ public class BasicGoXRef implements GoXRef { _type = Type.SABIO_RK; } else { - throw new IllegalArgumentException( "unknown GO xref type: " + type ); + _type = Type.OTHER; } _xref = sa[ 1 ].trim(); } @@ -192,6 +192,9 @@ public class BasicGoXRef implements GoXRef { case WIKIPEDIA: sb.append( WIKIPEDIA_STR ); break; + case OTHER: + sb.append( "other" ); + break; default: new AssertionError( "unknown type: " + getType() ); }