JAL-4343 patch for JAL-4347 uniprot non-pos feature parsing
[jalview.git] / test / jalview / ws / dbsources / UniprotTest.java
index f2d3b66..a95d520 100644 (file)
@@ -242,6 +242,13 @@ public class UniprotTest
     // FIXME: Jim needs to specify what (promoted) means !! - or perhaps we just
     // ignore it !
     assertEquals("1 (promoted)", (res.get(0).getVersion()));
+
+    List<SequenceFeature> features = seq.getFeatures().findFeatures(41, 41,
+            "sequence variant");
+    // verify single position features are parsed correctly JAL-4347
+    assertNotNull(features);
+    assertEquals(3, features.size());
+
   }
 
   /**