*/
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
*/
* Returns the range(s) formatted as a ChimeraX atomspec, for example
* <p>
* #1/A:2-20,30-40/B:10-20|#2/A:12-30
+ * <p>
+ * 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
*/
// TODO @P if RNA - add nucleotide flag to AtomSpecModel?
sb.append("@CA");
}
- // todo: is there ChimeraX syntax to exclude altlocs?
}
return sb.toString();
}