fix for JAL-4471 - secondary structure similarity tree can only be computed for seque...
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 4 Oct 2024 15:06:49 +0000 (16:06 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 4 Oct 2024 15:06:49 +0000 (16:06 +0100)
src/jalview/analysis/scoremodels/SecondaryStructureDistanceModel.java

index 473abcf..164bd9e 100644 (file)
@@ -147,6 +147,10 @@ public class SecondaryStructureDistanceModel extends DistanceScoreModel
     {
       for (AlignmentAnnotation aa : alignAnnotList)
       {
+        if (aa.sequenceRef==null)
+        {
+          continue;
+        }
         if (selectedSSSource.equals(aa.label))
         {
           ssAlignmentAnnotationForSequences