diff --git a/src/mol-model-props/computed/membrane-orientation/ANVIL.ts b/src/mol-model-props/computed/membrane-orientation/ANVIL.ts index 2050887f2ee1b8b179ae7ffc281eaf2fe2f0224c..51a3dd478847d632c47ffc348b42723a5e3aa1a6 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 6803ff00ca34c78d13a23a28c93484c57a681da1..fa0970a0546b6f11e8dd1319a8f33a649c33bac5 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>,