|
@@ -25,7 +25,7 @@ import { Color } from '../../mol-util/color';
|
|
|
import { createStructureRepresentationParams } from '../../mol-plugin-state/helpers/structure-representation-params';
|
|
|
import { PluginUIContext } from '../../mol-plugin-ui/context';
|
|
|
import { StateObjectSelector } from "../../mol-state/object";
|
|
|
-import { applyTransformations, createMembraneOrientation, getAtomGroupExpression } from './transformation';
|
|
|
+import { applyTransformations, createMembraneOrientation, getAtomGroupExpression, getChainExpression } from './transformation';
|
|
|
import { PDBTMDescriptor, PDBTMRegion, PMS } from './types';
|
|
|
|
|
|
type StructureComponentType = StateObjectSelector<
|
|
@@ -137,7 +137,6 @@ async function createStructureRepresentation(plugin: PluginUIContext, pdbtmDescr
|
|
|
|
|
|
await applyTransformations(plugin, pdbtmDescriptor);
|
|
|
|
|
|
-
|
|
|
await buildStructureRepresentation(plugin, components);
|
|
|
|
|
|
|
|
@@ -216,7 +215,7 @@ async function loadStructure(ctx: PluginUIContext, params: any, pdbtmDescriptor:
|
|
|
const builders = ctx.builders;
|
|
|
const data = await builders.data.download({
|
|
|
url: params.structureUrl,
|
|
|
- label: `UniTMP: ${pdbtmDescriptor.pdb_id}`,
|
|
|
+ label: `${pdbtmDescriptor.pdb_id}`,
|
|
|
isBinary: false
|
|
|
});
|
|
|
const trajectory = await builders.structure.parseTrajectory(data, 'mmcif');
|