JAL-2295 don't exclude RESNUM from transfer to Chimera
[jalview.git] / test / jalview / ext / rbvi / chimera / JalviewChimeraView.java
index 1b7d9d0..a31a065 100644 (file)
@@ -246,6 +246,8 @@ public class JalviewChimeraView
             62, -2.1f, null));
     sq.addSequenceFeature(new SequenceFeature("kd", "hydrophobicity", 65,
             65, 3.6f, null));
+    sq.addSequenceFeature(new SequenceFeature("RESNUM", "ALA:   2  4zhoA",
+            53, 53, Float.NaN, null));
 
     /*
      * set all features visible except for chain
@@ -257,6 +259,7 @@ public class JalviewChimeraView
     fr.setVisible("metal ion-binding site");
     fr.setVisible("helix");
     fr.setVisible("kd");
+    fr.setVisible("RESNUM");
 
     /*
      * 'perform' menu action to copy visible features to
@@ -285,6 +288,7 @@ public class JalviewChimeraView
     assertTrue(reply.contains("resattr jv_metal_ion_binding_site"));
     assertTrue(reply.contains("resattr jv_helix"));
     assertTrue(reply.contains("resattr jv_kd"));
+    assertTrue(reply.contains("resattr jv_RESNUM"));
     // feature is not on a mapped region - no attribute created
     assertFalse(reply.contains("resattr jv_transit_peptide"));
     // feature is not visible - no attribute created