From d5ad9ef13d6f9d542e89d97b82cbd86b11ed7bae Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 15 Apr 2014 18:11:07 +0100 Subject: [PATCH] JAL-1473 tree calcs performed with ScoreModelI instances --- src/jalview/gui/AlignFrame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 5160a3a..fd6fe24 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -27,6 +27,7 @@ import jalview.analysis.ParseProperties; import jalview.analysis.SequenceIdMatcher; import jalview.api.AlignViewControllerGuiI; import jalview.api.AlignViewControllerI; +import jalview.api.analysis.ScoreModelI; import jalview.bin.Cache; import jalview.commands.CommandI; import jalview.commands.EditCommand; @@ -3897,7 +3898,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, for (final Object pwtype: ResidueProperties.scoreMatrices.keySet()) { JMenuItem tm = new JMenuItem(); - ScoreMatrix sm = (ScoreMatrix) ResidueProperties.scoreMatrices.get(pwtype); + ScoreModelI sm = ResidueProperties.scoreMatrices.get(pwtype); final String title="Calculate "+type+" using "+sm.getName(); tm.setText(title);// MessageManager.getString("label.neighbour_blosum62")); tm -- 1.7.10.2