Merge branch 'develop' of https://source.jalview.org/git/jalview into features/JAL...
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 8 May 2017 15:36:08 +0000 (16:36 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 8 May 2017 15:36:08 +0000 (16:36 +0100)
1  2 
src/MCview/AppletPDBCanvas.java
src/MCview/PDBCanvas.java
src/jalview/structure/StructureSelectionManager.java

@@@ -178,7 -178,7 +178,7 @@@ public class AppletPDBCanvas extends Pa
  
      colourBySequence();
  
-     int max = -10;
+     float max = -10;
      int maxchain = -1;
      int pdbstart = 0;
      int pdbend = 0;
    // ////////////////////////////////
    // /StructureListener
    @Override
 -  public String[] getPdbFile()
 +  public String[] getStructureFiles()
    {
      return new String[] { pdbentry.getFile() };
    }
@@@ -177,7 -177,7 +177,7 @@@ public class PDBCanvas extends JPanel i
  
      colourBySequence();
  
-     int max = -10;
+     float max = -10;
      int maxchain = -1;
      int pdbstart = 0;
      int pdbend = 0;
    // ////////////////////////////////
    // /StructureListener
    @Override
 -  public String[] getPdbFile()
 +  public String[] getStructureFiles()
    {
      return new String[] { pdbentry.getFile() };
    }
@@@ -454,7 -454,7 +454,7 @@@ public class StructureSelectionManage
         * Attempt pairwise alignment of the sequence with each chain in the PDB,
         * and remember the highest scoring chain
         */
-       int max = -10;
+       float max = -10;
        AlignSeq maxAlignseq = null;
        String maxChainId = " ";
        PDBChain maxChain = null;
        if (listeners.elementAt(i) instanceof StructureListener)
        {
          sl = (StructureListener) listeners.elementAt(i);
 -        for (String pdbfile : sl.getPdbFile())
 +        for (String pdbfile : sl.getStructureFiles())
          {
            pdbs.remove(pdbfile);
          }