public Color findColour(String n)\r
{\r
// System.out.println("called"); log.debug\r
- return colors[((Integer) (ResidueProperties.nucleotideHash.get(n))).intValue()];\r
+ return colors[ResidueProperties.nucleotideIndex[n.charAt(0)]];\r
}\r
\r
/**\r
{\r
try\r
{\r
- currentColour = colors[((Integer) (ResidueProperties.nucleotideHash.get(n))).intValue()];\r
+ currentColour = colors[ ResidueProperties.nucleotideIndex[n.charAt(0)]];\r
}\r
catch (Exception ex)\r
{\r