Skip to content

Commit

Permalink
feature packing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jun 24, 2019
1 parent 49a08ed commit 0df995c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions dev/localSession.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@
<!-- Vendor JS -->
<script src="../vendor/jquery-3.3.1.slim.js"></script>
<script src="../vendor/underscore.js"></script>

<script src="../vendor/zlib_and_gzip.js"></script>
<script src="../vendor/inflate.js"></script>
<script src="../vendor/cram-bundle.js"></script>

<!-- IGV JS -->
<script src="../js/igv-icons.js"></script>
<script src="../js/session/igvXmlSession.js"></script>
<script src="../js/feature/mergedTrack.js"></script>



<script src="../js/bam/bamReader.js"></script>
<script src="../js/bam/bamReaderNonIndexed.js"></script>
<script src="../js/bam/bgzf.js"></script>
Expand All @@ -47,6 +48,7 @@
<script src="../js/bam/htsgetReader.js"></script>
<script src="../js/bam/alignmentBlock.js"></script>
<script src="../js/bam/shardedBamReader.js"></script>
<script src="../js/cram/cramReader.js"></script>

<script src="../js/bigQuery/ccp.js"></script>

Expand Down Expand Up @@ -105,6 +107,7 @@
<script src="../js/ui/popover.js"></script>
<script src="../js/ui/chromosomeSelectWidget.js"></script>
<script src="../js/ui/zoomWidget.js"></script>
<script src="../js/ui/svgSaveControl.js"></script>

<script src="../js/variant/vcfParser.js"></script>
<script src="../js/variant/variant.js"></script>
Expand All @@ -122,7 +125,7 @@
<script src="../js/viewport.js"></script>
<script src="../js/ui/genericContainer.js"></script>
<script src="../js/ui/trackGearPopover.js"></script>

<script src="../js/rulerTrack.js"></script>
<script src="../js/rulerSweeper.js"></script>

Expand All @@ -144,10 +147,16 @@

<script src="../js/roi.js"></script>
<script src="../js/roiSource.js"></script>
<script src="../js/civic/civicReader.js"></script>

<script src="../js/feature/fileFormats.js"></script>

<script src="../vendor/tdigest.js"></script>
<script src="../vendor/rbtree.js"></script>
<script src="../js/canvas2svg.js"></script>

<script src="../js/navbarManager.js"></script>

</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions js/feature/featureUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ var igv = (function (igv) {
bucket,
feature,
gap = 2,
packedRows = [],
bucketStart;

start = features[0].start;
Expand All @@ -85,7 +84,8 @@ var igv = (function (igv) {

row = 0;

while (allocatedCount < features.length && packedRows.length < maxRows) {

while (allocatedCount < features.length && row <= maxRows) {


while (nextStart <= end) {
Expand Down

0 comments on commit 0df995c

Please sign in to comment.