// 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;
else if ( type.equals( WIKIPEDIA_STR ) ) {
_type = Type.WIKIPEDIA;
}
+ else if ( type.equals( RHEA_STR ) ) {
+ _type = Type.RHEA;
+ }
+ else if ( type.equals( NIF_SUBCELLULAR_STR ) ) {
+ _type = Type.NIF_SUBCELLULAR;
+ }
+ else if ( type.equals( CORUM_STR ) ) {
+ _type = Type.CORUM;
+ }
+ else if ( type.equals( UNIPATHWAY_STR ) ) {
+ _type = Type.UNIPATHWAY;
+ }
+ else if ( type.equals( PO_STR ) ) {
+ _type = Type.PO;
+ }
+ else if ( type.equals( SABIO_RK_STR ) ) {
+ _type = Type.SABIO_RK;
+ }
else {
- throw new IllegalArgumentException( "unknown GO xref type: " + type );
+ _type = Type.OTHER;
}
_xref = sa[ 1 ].trim();
}
case WIKIPEDIA:
sb.append( WIKIPEDIA_STR );
break;
+ case OTHER:
+ sb.append( "other" );
+ break;
default:
new AssertionError( "unknown type: " + getType() );
}