From 904dafed30e4da63436e5303851c735a88ea1a4f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 26 Mar 2019 11:39:12 +0000 Subject: [PATCH] JAL-3215 colours updated on help page --- help/html/colourSchemes/hydrophobic.html | 42 ++++++++++---------- src/jalview/schemes/ResidueProperties.java | 2 + .../schemes/HydrophobicColourSchemeTest.java | 1 - 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/help/html/colourSchemes/hydrophobic.html b/help/html/colourSchemes/hydrophobic.html index 5caae8d..308f043 100755 --- a/help/html/colourSchemes/hydrophobic.html +++ b/help/html/colourSchemes/hydrophobic.html @@ -42,36 +42,36 @@ td { - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - + +
IVLFCVLFC
MAGXTMAGXT
SWYPHSWYPH
EZQDBEZQDB
NKNK R
diff --git a/src/jalview/schemes/ResidueProperties.java b/src/jalview/schemes/ResidueProperties.java index fb5d5a8..68c9098 100755 --- a/src/jalview/schemes/ResidueProperties.java +++ b/src/jalview/schemes/ResidueProperties.java @@ -406,6 +406,7 @@ public class ResidueProperties }; // Dunno where I got these numbers from + /* public static final double[] hyd2 = { 0.62, // A 0.29, // R -0.90, // N @@ -430,6 +431,7 @@ public class ResidueProperties 0.0, // Z 0.0 // X }; + */ public static final double[] helix = { 1.42, 0.98, 0.67, 1.01, 0.70, 1.11, 1.51, 0.57, 1.00, 1.08, 1.21, 1.16, 1.45, 1.13, 0.57, 0.77, 0.83, diff --git a/test/jalview/schemes/HydrophobicColourSchemeTest.java b/test/jalview/schemes/HydrophobicColourSchemeTest.java index a0a2281..3ca1780 100644 --- a/test/jalview/schemes/HydrophobicColourSchemeTest.java +++ b/test/jalview/schemes/HydrophobicColourSchemeTest.java @@ -55,7 +55,6 @@ public class HydrophobicColourSchemeTest assertEquals(scheme.findColour('z', 0, null), new Color(28, 0, 227)); assertEquals(scheme.findColour('x', 0, null), new Color(114, 0, 141)); assertEquals(scheme.findColour('?', 0, null), new Color(128, 0, 128)); - assertEquals(scheme.findColour('?', 0, null), new Color(128, 0, 128)); } } -- 1.7.10.2