JAL-885; Implementation of StructureFrequency.java and according
[jalview.git] / src / jalview / analysis / Rna.java
index 69a228b..f2ef118 100644 (file)
@@ -76,8 +76,8 @@ public class Rna
     {
       int begin = Integer.parseInt(pairs.elementAt(p).toString());
       int end = Integer.parseInt(pairs.elementAt(p + 1).toString());
-
-      outPairs[p / 2] = new SequenceFeature("RNA helix", "", "", begin,
+      
+       outPairs[p / 2] = new SequenceFeature("RNA helix", "", "", begin,
               end, "");
     }
 
@@ -159,7 +159,6 @@ public class Rna
 
       // Record helix as featuregroup
       pairs[i].setFeatureGroup(Integer.toString(helix));
-      pairs[i].setFeatureGroup(Integer.toString(helix));
 
       lastopen = open;
       lastclose = close;