X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBfile.java;h=f5a0255094f23ab858ddb3bb5b9df9a7e232aad6;hb=26371ff5c38bbb092e432d5616313bc1088e87a2;hp=9acc2e7b5438ab8b8db3df2bd46367b5057e64df;hpb=0bec4854366c4bc4608ed0d7dc1506fc6afe2285;p=jalview.git diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 9acc2e7..f5a0255 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -25,7 +25,6 @@ import jalview.datamodel.DBRefSource; import jalview.datamodel.SequenceI; import jalview.io.FileParse; import jalview.io.StructureFile; -import jalview.structure.StructureImportSettings; import jalview.util.MessageManager; import java.io.IOException; @@ -56,8 +55,7 @@ public class PDBfile extends StructureFile } public PDBfile(boolean addAlignmentAnnotations, boolean predictSecStr, - boolean externalSecStr, - FileParse source) throws IOException + boolean externalSecStr, FileParse source) throws IOException { super(false, source); addSettings(addAlignmentAnnotations, predictSecStr, externalSecStr); @@ -132,8 +130,7 @@ public class PDBfile extends StructureFile break; } if (line.indexOf("ATOM") == 0 - || (StructureImportSettings.isProcessHETATMs() - && line.indexOf("HETATM") == 0 && !terFlag)) + || (line.indexOf("HETATM") == 0 && !terFlag)) { terFlag = false; @@ -147,7 +144,7 @@ public class PDBfile extends StructureFile Atom tmpatom = new Atom(line); try { - tmpchain = findChain(tmpatom.chain); + tmpchain = findChain(tmpatom.chain); if (tmpatom.resNumIns.trim().equals(lastID)) { // phosphorylated protein - seen both CA and P.. @@ -205,8 +202,6 @@ public class PDBfile extends StructureFile markCalcIds(); } - - /** * Process a parsed chain to construct and return a Sequence, and add it to * the list of sequences parsed.