From: gmungoc Date: Sat, 29 Feb 2020 09:01:18 +0000 (+0000) Subject: JAL-3518 correct override for ChimeraX colour by residues X-Git-Tag: Release_2_11_2_0~37^2~29 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2a8451617d13c3bee6a7583d8db2d3bb1918a9bf;p=jalview.git JAL-3518 correct override for ChimeraX colour by residues --- diff --git a/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java b/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java index 580fa4b..7ece122 100644 --- a/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java +++ b/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java @@ -56,13 +56,12 @@ public class ChimeraXCommands extends ChimeraCommands } @Override - protected String getColourCommand(AtomSpecModel colourData, - Color colour) + public String getColourCommand(String atomSpec, Color colour) { // https://www.cgl.ucsf.edu/chimerax/docs/user/commands/color.html String colourCode = getColourString(colour); - return "color " + getAtomSpec(colourData, false) + " " + colourCode; + return "color " + atomSpec + " " + colourCode; } @Override