Skip to content

Commit

Permalink
enable pae
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Nov 27, 2024
1 parent 9ed88bb commit 0c8d27a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[Semantic Versioning](https://semver.org/)

## [2.11.0] - 2024-11-27
### General
- Enable Predicted Aligned Error Panel (RO-3593)

## [2.10.6] - 2024-10-28
### General
- Dependency & SCSS updates
Expand Down
2 changes: 2 additions & 0 deletions src/viewer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const DefaultViewerProps = {
showVolumeStreamingControls: true,
showAssemblySymmetryControls: true,
showValidationReportControls: true,
showPredictedAlignedErrorPlot: true,

showMembraneOrientationPreset: false,
showNakbColorTheme: false,
Expand Down Expand Up @@ -243,6 +244,7 @@ export class Viewer {
showVolumeStreamingControls: o.showVolumeStreamingControls,
showAssemblySymmetryControls: o.showAssemblySymmetryControls,
showValidationReportControls: o.showValidationReportControls,
showPredictedAlignedErrorPlot: o.showPredictedAlignedErrorPlot,
modelLoader: new ModelLoader(this._plugin),
collapsed: new BehaviorSubject<CollapsedState>({
selection: true,
Expand Down
1 change: 1 addition & 0 deletions src/viewer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface ViewerState {
showVolumeStreamingControls: boolean
showAssemblySymmetryControls: boolean
showValidationReportControls: boolean
showPredictedAlignedErrorPlot: boolean

modelLoader: ModelLoader

Expand Down
2 changes: 2 additions & 0 deletions src/viewer/ui/controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { StrucmotifSubmitControls } from './strucmotif';
import { ValidationReportControls } from './validation';
import { StructureQuickStylesControls } from 'molstar/lib/mol-plugin-ui/structure/quick-styles';
import { AssemblySymmetryControls } from 'molstar/lib/extensions/assembly-symmetry/ui';
import { MAPairwiseScorePlotPanel } from 'molstar/lib/extensions/model-archive/quality-assessment/pairwise/ui';

export class StructureTools extends PluginUIComponent {
get customState() {
Expand All @@ -39,6 +40,7 @@ export class StructureTools extends PluginUIComponent {
{this.customState.showStructureComponentControls && <StructureComponentControls initiallyCollapsed={collapsed.component} />}
{this.customState.showVolumeStreamingControls && <VolumeStreamingControls header='Density' initiallyCollapsed={collapsed.volume} />}
{this.customState.showValidationReportControls && <ValidationReportControls initiallyCollapsed={collapsed.validationReport} />}
{this.customState.showPredictedAlignedErrorPlot && <MAPairwiseScorePlotPanel />}
{this.customState.showAssemblySymmetryControls && <AssemblySymmetryControls initiallyCollapsed={collapsed.assemblySymmetry} />}
<CustomStructureControls initiallyCollapsed={collapsed.custom} />
</>;
Expand Down

0 comments on commit 0c8d27a

Please sign in to comment.