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:
ea1bc94
)
keep record of atomIndeX
author
amwaterhouse
<Andrew Waterhouse>
Tue, 27 Feb 2007 13:28:47 +0000
(13:28 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 27 Feb 2007 13:28:47 +0000
(13:28 +0000)
src/MCview/Atom.java
patch
|
blob
|
history
diff --git
a/src/MCview/Atom.java
b/src/MCview/Atom.java
index
c15455e
..
f8fb9b4
100755
(executable)
--- a/
src/MCview/Atom.java
+++ b/
src/MCview/Atom.java
@@
-34,12
+34,15
@@
public class Atom
public int type;
Color color = Color.lightGray;
public String chain;
- int alignmentMapping = -1;
+ public int alignmentMapping = -1;
+ public int atomIndex;
public boolean isSelected = false;
public Atom(String str)
{
+ atomIndex = Integer.parseInt(str.substring(6, 11).trim());
+
name = str.substring(12, 15).trim();
resName = str.substring(17, 20);