JAL-1231 allow Jmol file handler to read from a stream
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Fri, 15 Mar 2013 16:56:41 +0000 (16:56 +0000)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 21 May 2013 15:24:04 +0000 (16:24 +0100)
src/jalview/ext/jmol/PDBFileWithJmol.java

index 1059021..77755f8 100644 (file)
@@ -37,6 +37,7 @@ import jalview.datamodel.PDBEntry;
 import jalview.datamodel.Sequence;
 import jalview.datamodel.SequenceI;
 import jalview.io.AlignFile;
 import jalview.datamodel.Sequence;
 import jalview.datamodel.SequenceI;
 import jalview.io.AlignFile;
+import jalview.io.FileParse;
 
 /**
  * Import and process PDB files with Jmol
 
 /**
  * Import and process PDB files with Jmol
@@ -57,6 +58,12 @@ public class PDBFileWithJmol extends AlignFile implements
   {
     super(inFile, type);
   }
   {
     super(inFile, type);
   }
+  
+
+  public PDBFileWithJmol(FileParse fp) throws IOException
+  {
+    super(fp);
+  }
 
   public PDBFileWithJmol()
   {
 
   public PDBFileWithJmol()
   {