Merge branch 'features/JAL-1541_BioJsMSA' into develop
[jalview.git] / src / jalview / datamodel / PDBEntry.java
index 0c28c95..36ffdf3 100755 (executable)
@@ -125,9 +125,13 @@ public class PDBEntry
     return file;
   }
 
+  public void setType(String t)
+  {
+    this.type = t;
+  }
   public void setType(PDBEntry.Type type)
   {
-    this.type = type.toString();
+    this.type = type == null ? null : type.toString();
   }
 
   public String getType()