From: tcofoegbu Date: Mon, 25 Jul 2016 14:05:01 +0000 (+0100) Subject: JAL-2157 bugfix for regression from commit 82a6c8e2e25b7534168b68b2c89b9cf195f815a5 X-Git-Tag: Release_2_10_0~133 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=be1c61f7a8d6cdb9e65bb55c8d448ab8d50a6000;p=jalview.git JAL-2157 bugfix for regression from commit 82a6c8e2e25b7534168b68b2c89b9cf195f815a5 --- diff --git a/src/jalview/io/AppletFormatAdapter.java b/src/jalview/io/AppletFormatAdapter.java index 2243a5c..d62de27 100755 --- a/src/jalview/io/AppletFormatAdapter.java +++ b/src/jalview/io/AppletFormatAdapter.java @@ -303,7 +303,7 @@ public class AppletFormatAdapter } ((StructureFile) alignFile).setDbRefType(format); } - else if (format.equals("mmCIF")) + else if (format.equalsIgnoreCase("mmCIF")) { StructureImportSettings.addSettings(annotFromStructure, localSecondaryStruct, serviceSecondaryStruct); @@ -453,7 +453,7 @@ public class AppletFormatAdapter } ((StructureFile) alignFile).setDbRefType(Type.PDB); } - else if (format.equals("mmCIF")) + else if (format.equalsIgnoreCase("mmCIF")) { StructureImportSettings.addSettings(annotFromStructure, localSecondaryStruct, serviceSecondaryStruct);