From be1c61f7a8d6cdb9e65bb55c8d448ab8d50a6000 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Mon, 25 Jul 2016 15:05:01 +0100 Subject: [PATCH] JAL-2157 bugfix for regression from commit 82a6c8e2e25b7534168b68b2c89b9cf195f815a5 --- src/jalview/io/AppletFormatAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2