Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed unused files.
  • Loading branch information
jdurrant committed Nov 29, 2021
1 parent 00b9e8a commit 9ea3929
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 631 deletions.
1 change: 0 additions & 1 deletion web_app/src/BINANA.worker.ts
Expand Up @@ -35,7 +35,6 @@ self.onmessage = function(e) {
let fakeFS = binana["fs"]["shim"]["fake_fs"];
let newFS = {};
for (let flnm of Object.keys(fakeFS)) {
// if (["/vmd/output.json", "/vmd/log.txt"].indexOf(flnm) !== -1) {
if (flnm.startsWith("/vmd/")) {
let content = fakeFS[flnm];
flnm = flnm.slice(5);
Expand Down
31 changes: 0 additions & 31 deletions web_app/src/BINANAInterface.ts
Expand Up @@ -252,23 +252,6 @@ export function getInfoForHighlight(interactionName: string): IHighlightInfo {
// make an array for the interactions
let interactionType = binanaData[interactionName];

// if (interactionName === "metalCoordinations") {
// // In this case, organized by "coordinatingAtoms" and "metalAtoms".
// // Trick it into using "ligandAtoms" and "receptorAtoms" so below code
// // will work without modification.
// let newInteractionType = [];
// for (let idx in interactionType) {
// let metalAtomInf = interactionType[idx]["metalAtoms"][0];
// for (let coordinatingAtom of interactionType[idx]["coordinatingAtoms"]) {
// newInteractionType.push({
// "ligandAtoms": [metalAtomInf],
// "receptorAtoms": [coordinatingAtom]
// })
// }
// }
// interactionType = newInteractionType;
// }

// A single atom may participate in multiple interactions with other
// atoms. Make sure each atom is rendered in the viewer only once.
idxOfAtomsSeen = new Set([]);
Expand Down Expand Up @@ -318,11 +301,6 @@ export function getInfoForHighlight(interactionName: string): IHighlightInfo {
}
}

// Store.store.commit("setVar", {
// name: "colorMessage",
// val: colorMsg
// });

ligAtomInfs = ligAtomInfs.concat(
getAtomObjRadiusColor(ligandMol, ligandAtomInfs, ligColor)
);
Expand Down Expand Up @@ -559,11 +537,6 @@ function getAtomObjRadiusColor(mol: any, atomInfs: any, color: string): any[] {
* @returns void
*/
export function clearInteraction(): void {
// Store.store.commit("setVar", {
// name: "colorMessage",
// val: Store.defaultColorMsg
// });

if (viewer === undefined) {
return;
}
Expand All @@ -577,13 +550,11 @@ export function clearInteraction(): void {
export function highlightAll(): void {
let interactionVisibilityStatus = JSON.parse(Store.store.state["interactionVisibilityStatus"]);

// if (interactionName !== undefined) {
clearInteraction();

let highlightInfos = [];
let tableData = [];
for (let interactionName of renderOrder) {
// for (let interactionName in interactionVisibilityStatus) {
if (interactionVisibilityStatus[interactionName]) {
highlightInfos.push(
getInfoForHighlight(interactionName)
Expand Down Expand Up @@ -612,6 +583,4 @@ export function highlightAll(): void {
})

highlight(highlightInfos);

// }
}
59 changes: 0 additions & 59 deletions web_app/src/UI/CheckMark.ts

This file was deleted.

0 comments on commit 9ea3929

Please sign in to comment.