Fixed some broken tests
[jalview.git] / src / jalview / datamodel / PDBEntry.java
index 0050666..0c28c95 100755 (executable)
@@ -94,7 +94,7 @@ public class PDBEntry
   {
     this.id = pdbId;
     this.chainCode = chain;
-    this.type = type.toString();
+    this.type = type == null ? null : type.toString();
     this.file = filePath;
   }