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:
e3cb01d
)
JAL-1759 removed trim() of Atom.resNumIns as not backwards compatible
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 24 Aug 2015 12:05:09 +0000
(13:05 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 24 Aug 2015 12:05:09 +0000
(13:05 +0100)
with saved projects (generates duplicate annotations)
src/MCview/Atom.java
patch
|
blob
|
history
diff --git
a/src/MCview/Atom.java
b/src/MCview/Atom.java
index
4d000af
..
894984a
100755
(executable)
--- a/
src/MCview/Atom.java
+++ b/
src/MCview/Atom.java
@@
-77,7
+77,7
@@
public class Atom
chain = str.substring(21, 22);
resNumber = Integer.parseInt(str.substring(22, 26).trim());
- resNumIns = str.substring(22, 27).trim();
+ resNumIns = str.substring(22, 27);
insCode = str.substring(26, 27).charAt(0);
this.x = (new Float(str.substring(30, 38).trim()).floatValue());
this.y = (new Float(str.substring(38, 46).trim()).floatValue());