From: Michael T H. <mic...@us...> - 2003-01-21 22:32:25
|
Update of /cvsroot/jmol/Jmol/src/org/openscience/jmol In directory sc8-pr-cvs1:/tmp/cvs-serv21821 Modified Files: ProteinProp.java Log Message: more work on rasmol expressios and predefined sets Index: ProteinProp.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/ProteinProp.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** ProteinProp.java 21 Jan 2003 13:20:31 -0000 1.3 --- ProteinProp.java 21 Jan 2003 22:31:50 -0000 1.4 *************** *** 57,60 **** --- 57,67 ---- } + public byte getResID() { + Integer res = (Integer)htResidue.get(getResidue()); + if (res == null) + return -1; + return (byte)res.intValue(); + } + public int getResno() { int chain = 0; |