fix modeller generated PDB file reading bug (missing HEADER line with PDB code)
authorjprocter <Jim Procter>
Sun, 17 Jun 2007 12:55:50 +0000 (12:55 +0000)
committerjprocter <Jim Procter>
Sun, 17 Jun 2007 12:55:50 +0000 (12:55 +0000)
src/MCview/PDBfile.java

index 227bcf7..2c7bd9d 100755 (executable)
@@ -49,6 +49,8 @@ public class PDBfile
   public void parse()
       throws IOException
   {
+    // TODO set the filename sensibly 
+    id = (inFile==null) ? "PDBFILE" : inFile.getName();
     try
     {
       chains = new Vector();