explicit quote of chaincode in errror message
authorjprocter <Jim Procter>
Fri, 22 Feb 2008 15:37:07 +0000 (15:37 +0000)
committerjprocter <Jim Procter>
Fri, 22 Feb 2008 15:37:07 +0000 (15:37 +0000)
src/jalview/ws/dbsources/Pdb.java

index 5773171..d68df54 100644 (file)
@@ -149,7 +149,7 @@ public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
       if (result.size() < 1)\r
       {\r
         throw new Exception("No PDB Records for " + id + " chain "\r
-                + ((chain == null) ? " " : chain));\r
+                + ((chain == null) ? "' '" : chain));\r
       }\r
     } catch (Exception ex) // Problem parsing PDB file\r
     {\r