git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075b02d
)
blank space for chain name if empty
author
amwaterhouse
<Andrew Waterhouse>
Tue, 27 Feb 2007 13:30:37 +0000
(13:30 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 27 Feb 2007 13:30:37 +0000
(13:30 +0000)
src/MCview/PDBChain.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBChain.java
b/src/MCview/PDBChain.java
index
dc3743e
..
6f1b31a
100755
(executable)
--- 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()