From 8b8dfbbad8432ff75475b0ca61fbc5651c26e147 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 27 Feb 2007 13:30:37 +0000 Subject: [PATCH] blank space for chain name if empty --- src/MCview/PDBChain.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index dc3743e..6f1b31a 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -65,7 +65,7 @@ public class PDBChain return tmp; } - void makeExactMapping(AlignSeq as, Sequence s1) + public void makeExactMapping(AlignSeq as, SequenceI s1) { int pdbpos = as.getSeq2Start() - 2; int alignpos = s1.getStart() + as.getSeq1Start() - 3; @@ -252,9 +252,9 @@ public class PDBChain count++; } - if (id.length() < 1 || id.equals(" ")) + if (id.length() < 1) { - id = "_"; + id = " "; } sequence = new Sequence(id, seq.toString(), offset, resNumber - 1); // Note: resNumber-offset ~= seq.size() -- 1.7.10.2