git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inprogress
[jalview.git]
/
forester
/
java
/
src
/
org
/
forester
/
go
/
BasicGoXRef.java
diff --git
a/forester/java/src/org/forester/go/BasicGoXRef.java
b/forester/java/src/org/forester/go/BasicGoXRef.java
index
b877bb4
..
548a7a6
100644
(file)
--- 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
// 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;
package org.forester.go;
@@
-100,7
+100,7
@@
public class BasicGoXRef implements GoXRef {
_type = Type.SABIO_RK;
}
else {
_type = Type.SABIO_RK;
}
else {
- throw new IllegalArgumentException( "unknown GO xref type: " + type );
+ _type = Type.OTHER;
}
_xref = sa[ 1 ].trim();
}
}
_xref = sa[ 1 ].trim();
}
@@
-192,6
+192,9
@@
public class BasicGoXRef implements GoXRef {
case WIKIPEDIA:
sb.append( WIKIPEDIA_STR );
break;
case WIKIPEDIA:
sb.append( WIKIPEDIA_STR );
break;
+ case OTHER:
+ sb.append( "other" );
+ break;
default:
new AssertionError( "unknown type: " + getType() );
}
default:
new AssertionError( "unknown type: " + getType() );
}