Skip to content

Commit

Permalink
add extra endline showclusterinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
monicadragan2 committed Oct 17, 2024
1 parent fc5eb03 commit 89221d4
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions oncotreevis.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
///////////////////////
//// HTML elements ////
///////////////////////
function loadLocalFile() {
// Get selected file.
let file = document.getElementById("picker").files[0];
console.log(file)

// Read selected file.
let reader = new FileReader();
reader.onload = () => {
let data = JSON.parse(reader.result);
console.log(data)
//oncotreeVIS(data, "container")
}
}

function createBlueBorder(){
var div = document.createElement('span')
div.style.border = "4px solid #c2dffe"
Expand Down Expand Up @@ -510,7 +496,7 @@ function populateGeneStates(tree){
//// HTML helpers ////
//////////////////////
function appendLineBreak(div) {
div.appendChild(document.createElement("br"))
div.appendChild(document.createElement("p"))
}

function appendHalfLineBreak(div) {
Expand Down Expand Up @@ -1151,7 +1137,7 @@ function showClusterInfo(args) {
var metadata_table = getMetadataTable(cluster_metadata)
tree_info_div.appendChild(metadata_table)
appendLineBreak(tree_info_div)

appendLineBreak(tree_info_div)
}

function getRandomColor(alpha=0) {
Expand Down

0 comments on commit 89221d4

Please sign in to comment.