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;
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