From c60d7d3faf157da8bf5744ed3e89d2242d48c3f3 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alex.rose@rcsb.org> Date: Wed, 28 Aug 2019 12:49:33 -0700 Subject: [PATCH] removed console statements --- src/mol-plugin/state/transforms/representation.ts | 3 --- src/mol-plugin/util/structure-overpaint-helper.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/src/mol-plugin/state/transforms/representation.ts b/src/mol-plugin/state/transforms/representation.ts index 71c9e63ba..cdc5e1932 100644 --- a/src/mol-plugin/state/transforms/representation.ts +++ b/src/mol-plugin/state/transforms/representation.ts @@ -402,7 +402,6 @@ const OverpaintStructureRepresentation3DFromBundle = PluginStateTransform.BuiltI return true; }, apply({ a, params }) { - console.log('apply', {a, params}) const structure = a.data.source.data const overpaint = getStructureOverpaintFromBundle(structure, params.layers, params.alpha) @@ -414,10 +413,8 @@ const OverpaintStructureRepresentation3DFromBundle = PluginStateTransform.BuiltI }, { label: `Overpaint (${overpaint.layers.length} Layers)` }) }, update({ a, b, newParams, oldParams }) { - console.log('update', {a, b, newParams, oldParams}) const oldStructure = b.data.info as Structure const newStructure = a.data.source.data - console.log() if (newStructure !== oldStructure) return StateTransformer.UpdateResult.Recreate const oldOverpaint = b.data.state.overpaint! const newOverpaint = getStructureOverpaintFromBundle(newStructure, newParams.layers, newParams.alpha) diff --git a/src/mol-plugin/util/structure-overpaint-helper.ts b/src/mol-plugin/util/structure-overpaint-helper.ts index 43169738b..7424be715 100644 --- a/src/mol-plugin/util/structure-overpaint-helper.ts +++ b/src/mol-plugin/util/structure-overpaint-helper.ts @@ -30,7 +30,6 @@ export class StructureOverpaintHelper { async set(color: Color | -1, lociGetter: (structure: Structure) => StructureElement.Loci, types?: string[]) { await this.eachRepr((update, repr, overpaint) => { - console.log(types, repr.params!.values.type.name) if (types && !types.includes(repr.params!.values.type.name)) return // TODO merge overpaint layers, delete shadowed ones -- GitLab