|
@@ -5,7 +5,6 @@ import { PDBTMDescriptor, PDBTMTransformationMatrix, PMS } from './types';
|
|
|
import { createStructureRepresentationParams } from '../../mol-plugin-state/helpers/structure-representation-params';
|
|
|
import { StateTransforms } from '../../mol-plugin-state/transforms';
|
|
|
import { StateObjectRef, StateBuilder } from '../../mol-state';
|
|
|
-import { Color } from '../../mol-util/color';
|
|
|
import { Expression } from '../../mol-script/language/expression';
|
|
|
import { MembraneOrientation } from './prop';
|
|
|
|
|
@@ -37,7 +36,7 @@ export async function applyTransformations(ctx: PluginUIContext, pdbtmDescriptor
|
|
|
* @param chainId Id of chain to be selected for transformation
|
|
|
*/
|
|
|
export function red(plugin: PluginUIContext, transformationMatrix: PDBTMTransformationMatrix, chainId: string): void {
|
|
|
- const color: Color = Color.fromArray([255, 0, 0], 0);
|
|
|
+
|
|
|
const query: Expression = getChainExpression(chainId);
|
|
|
|
|
|
let transformation = transformationForStateTransform(transformationMatrix);
|