X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FPdb.java;h=61c5c0458fe4fa7090d3d2362e8659e3d7187ddf;hb=0f40a8334651302a74a223ecd3e583451302bb42;hp=fc636c6f78460b9610fa4ac53a548aeae07bbafd;hpb=82a6c8e2e25b7534168b68b2c89b9cf195f815a5;p=jalview.git diff --git a/src/jalview/ws/dbsources/Pdb.java b/src/jalview/ws/dbsources/Pdb.java index fc636c6..61c5c04 100644 --- a/src/jalview/ws/dbsources/Pdb.java +++ b/src/jalview/ws/dbsources/Pdb.java @@ -134,7 +134,7 @@ public class Pdb extends EbiFileRetrievedProxy return null; } String ext = StructureImportSettings.getDefaultStructureFileFormat() - .equals(Type.MMCIF) ? ".cif" : ".xml"; + .equalsIgnoreCase(Type.MMCIF.toString()) ? ".cif" : ".xml"; EBIFetchClient ebi = new EBIFetchClient(); file = ebi.fetchDataAsFile("pdb:" + id, StructureImportSettings.getDefaultStructureFileFormat().toLowerCase(),