Merge branch 'features/r2_11_2_alphafold/JAL-629' into features/JAL-4134_treeviewerfo...
authorJames Procter <j.procter@dundee.ac.uk>
Wed, 8 Mar 2023 13:45:11 +0000 (13:45 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Wed, 8 Mar 2023 13:45:11 +0000 (13:45 +0000)
1  2 
src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java
src/jalview/ws/dbsources/EBIAlfaFold.java

@@@ -469,15 -495,9 +496,9 @@@ public class EBIAlfaFold extends EbiFil
  
      ContactMatrixI matrix = new PAEContactMatrix(sm.getSequence(),
              (Map<String, Object>) pae_obj);
 -
 +    ((PAEContactMatrix) matrix).makeGroups(5f, true);
      AlignmentAnnotation cmannot = sm.getSequence().addContactList(matrix);
-     // sm.getSequence().addAlignmentAnnotation(cmannot);
-     sm.transfer(cmannot);
-     // return true;
-     StructureSelectionManager ssm = StructureSelectionManager
-             .getStructureSelectionManager(Desktop.instance);
-     List<AlignedCodonFrame> acfList = ssm.getSequenceMappings();
+     sm.getSequence().addAlignmentAnnotation(cmannot);
  
      return true;
    }