Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
akmorrow13 committed Feb 16, 2021
1 parent ff7c915 commit cabe15c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/data/TwoBit.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class TwoBit {
getContigList(): Q.Promise<ContigInterval<string>[]> {
return this.header.then(header => {
return header.sequences.map(seq => {
// fill in end if collected
// fill in numBases if collected
var numBases = Number.MAX_VALUE;
if (this.traversedSequenceRecords[seq.name]) {
numBases = this.traversedSequenceRecords[seq.name].numBases;
Expand Down
1 change: 1 addition & 0 deletions src/main/viz/GeneTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import utils from '../utils';
import dataCanvas from 'data-canvas';
import style from '../style';


// Draw an arrow in the middle of the visible portion of range.
function drawArrow(ctx: CanvasRenderingContext2D,
clampedScale: (x: number)=>number,
Expand Down
2 changes: 1 addition & 1 deletion src/test/viz/GeneTrack-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('GeneTrack', function() {

server.autoRespond = true;

// // Sinon should ignore 2bit request. RemoteFile handles this request.
// Sinon should ignore 2bit request. RemoteFile handles this request.
sinon.fakeServer.xhr.useFilters = true;
sinon.fakeServer.xhr.addFilter(function (method, url) {
return url === '/test-data/hg19.2bit.mapped';
Expand Down

0 comments on commit cabe15c

Please sign in to comment.