From: Jim Procter Date: Sun, 4 Sep 2016 13:40:19 +0000 (+0100) Subject: JAL-2148 JAL-1803 JAL-1919 resolve type for mmCIF loaded from local file system X-Git-Tag: Release_2_10_0~47^2~4^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3bf65c1e2b0df047a97fdd2f9e1874462fde8b02;p=jalview.git JAL-2148 JAL-1803 JAL-1919 resolve type for mmCIF loaded from local file system --- 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)