JAL-674 always try to extract secondary structure when importing a PDB file
authorJim Procter <j.procter@dundee.ac.uk>
Wed, 15 Oct 2014 09:16:10 +0000 (10:16 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Wed, 15 Oct 2014 09:16:10 +0000 (10:16 +0100)
src/jalview/io/AppletFormatAdapter.java

index ed49d5e..5366cb4 100755 (executable)
@@ -236,7 +236,7 @@ public class AppletFormatAdapter
       }
       else if (format.equals("PDB"))
       {
-        afile = new MCview.PDBfile(inFile, type);
+        afile = new MCview.PDBfile(true,true,inFile, type);
         // Uncomment to test Jmol data based PDB processing: JAL-1213
         // afile = new jalview.ext.jmol.PDBFileWithJmol(inFile, type);
       }
@@ -357,7 +357,7 @@ public class AppletFormatAdapter
       }
       else if (format.equals("PDB"))
       {
-        afile = new MCview.PDBfile(source);
+        afile = new MCview.PDBfile(true,true,source);
       }
       else if (format.equals("STH"))
       {