JAL-2050 make SequenceFeature.score final, adjust constructor calls
[jalview.git] / src / jalview / datamodel / Mapping.java
index 5a4689d..c741603 100644 (file)
@@ -531,7 +531,7 @@ public class Mapping
         for (int i = 0, v = 0; i < frange.length; i += 2, v++)
         {
           vf[v] = new SequenceFeature(f, frange[i], frange[i + 1],
-                  f.getFeatureGroup());
+                  f.getFeatureGroup(), f.getScore());
           if (frange.length > 2)
           {
             vf[v].setDescription(f.getDescription() + "\nPart " + (v + 1));