JAL-674 JAL-961 pass row reference to handler to check calcId and any specific proper...
[jalview.git] / src / jalview / structure / StructureSelectionManager.java
index 9396be1..7a1b100 100644 (file)
@@ -260,11 +260,10 @@ public class StructureSelectionManager
         {
           for (AlignmentAnnotation ala : ds.getAnnotation())
           {
-
             // false if any annotation present from this structure
             // JBPNote this fails for jmol/chimera view because the *file* is
             // passed, not the structure data ID -
-            if (MCview.PDBfile.isCalcIdForFile(ala.getCalcId(),
+            if (MCview.PDBfile.isCalcIdForFile(ala,
                     findIdForPDBFile(pdbFile)))
             {
               parseSecStr = false;