git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2795 add get for all matrix values to MatrixI (and concrete classes)
[jalview.git]
/
src
/
jalview
/
ext
/
jmol
/
JmolCommands.java
diff --git
a/src/jalview/ext/jmol/JmolCommands.java
b/src/jalview/ext/jmol/JmolCommands.java
index
3e7ca59
..
6bf7010
100644
(file)
--- a/
src/jalview/ext/jmol/JmolCommands.java
+++ b/
src/jalview/ext/jmol/JmolCommands.java
@@
-113,21
+113,14
@@
public class JmolCommands
col = Color.GRAY;
}
col = Color.GRAY;
}
- String newSelcom = (mapping[m].getChain() != " " ? ":"
- + mapping[m].getChain() : "")
- + "/"
- + (pdbfnum + 1)
- + ".1"
- + ";color["
- + col.getRed()
- + ","
- + col.getGreen()
- + ","
+ String newSelcom = (mapping[m].getChain() != " "
+ ? ":" + mapping[m].getChain()
+ : "") + "/" + (pdbfnum + 1) + ".1" + ";color["
+ + col.getRed() + "," + col.getGreen() + ","
+ col.getBlue() + "]";
+ col.getBlue() + "]";
- if (command.length() > newSelcom.length()
- && command.substring(
- command.length() - newSelcom.length())
- .equals(newSelcom))
+ if (command.length() > newSelcom.length() && command
+ .substring(command.length() - newSelcom.length())
+ .equals(newSelcom))
{
command = JmolCommands.condenseCommand(command, pos);
continue;
{
command = JmolCommands.condenseCommand(command, pos);
continue;