From 72bdd5bc05a047e32dab66e47abedd50cb105ea1 Mon Sep 17 00:00:00 2001 From: JonStargaryen <sebastian.bittrich@rcsb.org> Date: Fri, 5 Jun 2020 11:20:16 -0700 Subject: [PATCH] asaCutoff param --- src/mol-model-props/computed/membrane-orientation/ANVIL.ts | 4 ++-- .../computed/membrane-orientation/anvil/common.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mol-model-props/computed/membrane-orientation/ANVIL.ts b/src/mol-model-props/computed/membrane-orientation/ANVIL.ts index 2050887f2..51a3dd478 100644 --- a/src/mol-model-props/computed/membrane-orientation/ANVIL.ts +++ b/src/mol-model-props/computed/membrane-orientation/ANVIL.ts @@ -22,7 +22,7 @@ export const ANVILParams = { stepSize: PD.Numeric(1, { min: 0.25, max: 4, step: 0.25 }, { description: 'Thickness of membrane slices that will be tested' }), minThickness: PD.Numeric(20, { min: 10, max: 30, step: 1}, { description: 'Minimum membrane thickness used during refinement' }), maxThickness: PD.Numeric(40, { min: 30, max: 50, step: 1}, { description: 'Maximum membrane thickness used during refinement' }), - afilter: PD.Numeric(40, { min: 10, max: 100, step: 1 }, { description: 'Absolute ASA cutoff above which residues will be considered' }) + asaCutoff: PD.Numeric(40, { min: 10, max: 100, step: 1 }, { description: 'Absolute ASA cutoff above which residues will be considered' }) }; export type ANVILParams = typeof ANVILParams export type ANVILProps = PD.Values<ANVILParams> @@ -81,7 +81,7 @@ function initialize(structure: Structure, props: ANVILProps): ANVILContext { // keep track of offsets and exposed state to reuse offsets[m] = l.element; - exposed[m] = AccessibleSurfaceArea.getValue(l, asa) > props.afilter; + exposed[m] = AccessibleSurfaceArea.getValue(l, asa) > props.asaCutoff; m++; } diff --git a/src/mol-model-props/computed/membrane-orientation/anvil/common.ts b/src/mol-model-props/computed/membrane-orientation/anvil/common.ts index 6803ff00c..fa0970a05 100644 --- a/src/mol-model-props/computed/membrane-orientation/anvil/common.ts +++ b/src/mol-model-props/computed/membrane-orientation/anvil/common.ts @@ -14,7 +14,7 @@ export interface ANVILContext { stepSize: number, minThickness: number, maxThickness: number, - afilter: number, + asaCutoff: number, offsets: ArrayLike<number>, exposed: ArrayLike<boolean>, -- GitLab