Ver Fonte

asaCutoff param

JonStargaryen há 4 anos atrás
pai
commit
72bdd5bc05

+ 2 - 2
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++;
         }

+ 1 - 1
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>,