Skip to content

Commit

Permalink
Update to flow 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Apr 27, 2015
1 parent 4fcff3a commit e46f5cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"chai": "^2.0.0",
"coveralls": "^2.11.2",
"es5-shim": "^4.1.0",
"flow-bin": "^0.6.0",
"flow-bin": "^0.10.0",
"grunt": "^0.4.5",
"grunt-browserify": "^3.3.0",
"grunt-contrib-connect": "^0.9.0",
Expand Down
4 changes: 2 additions & 2 deletions src/bam.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ class Bam {
* The 'contained' parameter controls whether the alignments must be fully
* contained within the range, or need only overlap it.
*/
getAlignmentsInRange(range: ContigInterval<string>, contained?: boolean): Q.Promise<SamRead[]> {
contained = contained || false;
getAlignmentsInRange(range: ContigInterval<string>, opt_contained?: boolean): Q.Promise<SamRead[]> {
var contained = opt_contained || false;
if (!this.index) {
throw 'Range searches are only supported on BAMs with BAI indices.';
}
Expand Down

0 comments on commit e46f5cf

Please sign in to comment.