From: Jim Procter Date: Tue, 15 Apr 2014 17:11:07 +0000 (+0100) Subject: JAL-1473 tree calcs performed with ScoreModelI instances X-Git-Tag: Jalview_2_9~123^2~48 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d5ad9ef13d6f9d542e89d97b82cbd86b11ed7bae;p=jalview.git JAL-1473 tree calcs performed with ScoreModelI instances --- 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