|
@@ -41,6 +41,7 @@ import { Mp4Export } from 'molstar/lib/extensions/mp4-export';
|
|
|
import { DefaultPluginUISpec, PluginUISpec } from 'molstar/lib/mol-plugin-ui/spec';
|
|
|
import { PluginUIContext } from 'molstar/lib/mol-plugin-ui/context';
|
|
|
import { ANVILMembraneOrientation, MembraneOrientationPreset } from 'molstar/lib/extensions/anvil/behavior';
|
|
|
+import { MembraneOrientationRepresentationProvider } from 'molstar/lib/extensions/anvil/representation';
|
|
|
|
|
|
/** package version, filled in at bundle build time */
|
|
|
declare const __RCSB_MOLSTAR_VERSION__: string;
|
|
@@ -169,6 +170,7 @@ export class Viewer {
|
|
|
this.plugin.init().then(() => {
|
|
|
// hide 'Membrane Orientation' preset from UI
|
|
|
this.plugin.builders.structure.representation.unregisterPreset(MembraneOrientationPreset);
|
|
|
+ this.plugin.representation.structure.registry.remove(MembraneOrientationRepresentationProvider);
|
|
|
});
|
|
|
ReactDOM.render(React.createElement(Plugin, { plugin: this.plugin }), element);
|
|
|
|