JAL-2157 bugfix for regression from commit 82a6c8e2e25b7534168b68b2c89b9cf195f815a5
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 25 Jul 2016 14:05:01 +0000 (15:05 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 25 Jul 2016 14:05:01 +0000 (15:05 +0100)
src/jalview/io/AppletFormatAdapter.java

index 2243a5c..d62de27 100755 (executable)
@@ -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);