X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBfile.java;h=6d3d342a886537f06784ebac120a60d20a51e47c;hb=b5699e7d9cc2045f623609948ee10a736256abc4;hp=9a9b6f64302ba98e623a0c4503e724387396325d;hpb=43ee8686fab13cd6952335ade1382adf3226f7a1;p=jalview.git diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 9a9b6f6..6d3d342 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -23,6 +23,7 @@ package MCview; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.DBRefSource; import jalview.datamodel.SequenceI; +import jalview.io.DataSourceType; import jalview.io.FileParse; import jalview.io.StructureFile; import jalview.util.MessageManager; @@ -46,17 +47,17 @@ public class PDBfile extends StructureFile } public PDBfile(boolean addAlignmentAnnotations, boolean predictSecStr, - boolean externalSecStr, String file, String protocol) + boolean externalSecStr, String dataObject, + DataSourceType sourceType) throws IOException { - super(false, file, protocol); + super(false, dataObject, sourceType); addSettings(addAlignmentAnnotations, predictSecStr, externalSecStr); doParse(); } 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); @@ -64,7 +65,7 @@ public class PDBfile extends StructureFile } @Override - public String print() + public String print(SequenceI[] seqs, boolean jvSuffix) { return null; } @@ -145,7 +146,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.. @@ -203,8 +204,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.