X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fgo%2FBasicGoXRef.java;h=99a0c9ecdb09b88a3797ee48631f49711ee646ff;hb=a9fcc2db25e1349d2a5f926eae7a71cea99efb7a;hp=3ce65b3eb1085a9e62fd6d8b3cf27e929f9c0b6e;hpb=eee996a6476a1e3d84c07f8f690dcde3ff4b2ef5;p=jalview.git diff --git a/forester/java/src/org/forester/go/BasicGoXRef.java b/forester/java/src/org/forester/go/BasicGoXRef.java index 3ce65b3..99a0c9e 100644 --- a/forester/java/src/org/forester/go/BasicGoXRef.java +++ b/forester/java/src/org/forester/go/BasicGoXRef.java @@ -81,6 +81,21 @@ public class BasicGoXRef implements GoXRef { 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 { throw new IllegalArgumentException( "unknown GO xref type: " + type ); }