in progress...
[jalview.git] / forester / java / src / org / forester / go / BasicGoRelationship.java
index 270f31a..490dbc7 100644 (file)
@@ -55,6 +55,12 @@ public class BasicGoRelationship implements GoRelationship {
         else if ( type.toLowerCase().equals( OCCURS_IN_STR ) ) {
             _type = Type.OCCURS_IN;
         }
+        else if ( type.toLowerCase().equals( HAPPENS_DURING_STR ) ) {
+            _type = Type.HAPPENS_DURING;
+        }
+        else if ( type.toLowerCase().equals(ENDS_DURING_STR ) ) {
+            _type = Type.ENDS_DURING;
+        }
         else {
             throw new IllegalArgumentException( "unknown GO relationship type: " + type );
         }
@@ -83,8 +89,8 @@ public class BasicGoRelationship implements GoRelationship {
 
     /**
      * Based on value and type.
-     * 
-     * 
+     *
+     *
      */
     @Override
     public boolean equals( final Object o ) {