From 3bf65c1e2b0df047a97fdd2f9e1874462fde8b02 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 4 Sep 2016 14:40:19 +0100 Subject: [PATCH] JAL-2148 JAL-1803 JAL-1919 resolve type for mmCIF loaded from local file system --- src/jalview/io/StructureFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/StructureFile.java b/src/jalview/io/StructureFile.java index f095383..995e6d3 100644 --- a/src/jalview/io/StructureFile.java +++ b/src/jalview/io/StructureFile.java @@ -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) -- 1.7.10.2