Skip to content
Snippets Groups Projects
Commit c214be12 authored by Ibrahim Roshan Kunnakkattu's avatar Ibrahim Roshan Kunnakkattu
Browse files

renamed input variable to substructure

parent 51d344d8
No related branches found
No related tags found
1 merge request!5Refactored code for diplaying aggregated ligand interactions
......@@ -100,14 +100,12 @@ class pdbLigandEnv extends LitElement {
this.display.showWeights(contactType);
}
set highlightSubstructure(data) {
if (!data || !this.display) {
console.log(`Argument needs to be a non empty array of strings.`);
set highlightSubstructure(substructure) {
if (!this.display) {
return;
}
this.display.addLigandHighlight(data, this.highlightColor);
this.substructureHighlight = data;
this.display.addLigandHighlight(substructure, this.highlightColor);
this.substructureHighlight = substructure;
}
set highlightColor(data) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment