Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Jan 14, 2025
1 parent 343f487 commit de7b3d3
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions dev/generic-test-harness.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href=https://igv.org/web/img/favicon.ico rel="shortcut icon">
<title>IGV - Dev</title>

</head>

<body>

<div id="igv-container" style="padding-top: 50px;padding-bottom: 20px; height: auto">

</div>

<script type="module">

import igv from "../js/index.js";

const config =
{
queryParametersSupported: true,
locus: '19:49301000-49305700',
genome: "hg19",
tracks:
[
{
name: 'All pos bars',
url: '../../test/data/wig/allPositive.bedgraph',
// color: '#0f0',
indexed: false
},
{
name: 'All negative bars',
url: '../../test/data/wig/allNegativewig.bedgraph',
// color: '#f00',
indexed: false
},
]
};

igv.createBrowser(document.getElementById("igv-container"), config).then(browser => {
console.log(`browser ${ browser.guid } is good to go`)
});


</script>

</body>

</html>

0 comments on commit de7b3d3

Please sign in to comment.