JAL-789 limit applicable score models to substitution matrix based ones
authorJim Procter <jprocter@dundee.ac.uk>
Mon, 19 Aug 2024 16:13:24 +0000 (17:13 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Mon, 19 Aug 2024 16:13:24 +0000 (17:13 +0100)
src/jalview/gui/CalculationChooser.java

index bd3c960..8e5cc9e 100644 (file)
@@ -593,7 +593,7 @@ public class CalculationChooser extends JPanel
             .isSecondaryStructurePresent(alignmentAnnotations);
 
     List<ScoreModelI> models = getApplicableScoreModels(nucleotide,
-            pca.isSelected(), ssPresent, pasimap.isSelected());
+            pca.isSelected(), ssPresent, (pasimap.isSelected() || pairwise.isSelected()));
 
     /*
      * now we can actually add entries to the combobox,