X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Frbvi%2Fchimera%2FChimeraXCommands.java;h=d0c5671eba9745da99c9ecb9f5858a0835469a1f;hb=15684417a64007046f10d193d5c9363be8f88ea7;hp=b7d9ce3ef9cd869905123149cc2c94b8a54d0f76;hpb=81566f0db459762fb716dcd54e1c04086f7ed72b;p=jalview.git diff --git a/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java b/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java index b7d9ce3..d0c5671 100644 --- a/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java +++ b/src/jalview/ext/rbvi/chimera/ChimeraXCommands.java @@ -20,15 +20,15 @@ */ package jalview.ext.rbvi.chimera; +import java.awt.Color; +import java.util.Arrays; +import java.util.List; + import jalview.structure.AtomSpecModel; import jalview.structure.StructureCommand; import jalview.structure.StructureCommandI; import jalview.util.ColorUtils; -import java.awt.Color; -import java.util.Arrays; -import java.util.List; - /** * Routines for generating ChimeraX commands for Jalview/ChimeraX binding */ @@ -132,6 +132,10 @@ public class ChimeraXCommands extends ChimeraCommands * Returns the range(s) formatted as a ChimeraX atomspec, for example *

* #1/A:2-20,30-40/B:10-20|#2/A:12-30 + *

+ * Note there is no need to explicitly exclude ALTLOC atoms when + * {@code alphaOnly == true}, as this is the default behaviour of ChimeraX (a + * change from Chimera) * * @return */ @@ -153,7 +157,6 @@ public class ChimeraXCommands extends ChimeraCommands // TODO @P if RNA - add nucleotide flag to AtomSpecModel? sb.append("@CA"); } - // todo: is there ChimeraX syntax to exclude altlocs? } return sb.toString(); }