JAL-2148 JAL-1803 JAL-1919 resolve type for mmCIF loaded from local file system
authorJim Procter <jprocter@issues.jalview.org>
Sun, 4 Sep 2016 13:40:19 +0000 (14:40 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 4 Sep 2016 13:40:19 +0000 (14:40 +0100)
src/jalview/io/StructureFile.java

index f095383..995e6d3 100644 (file)
@@ -409,7 +409,7 @@ public abstract class StructureFile extends AlignFile
 
   public void setDbRefType(String dbRefType)
   {
-    this.dbRefType = Type.valueOf(dbRefType);
+    this.dbRefType = Type.getType(dbRefType);
   }
 
   public void setDbRefType(Type dbRefType)