Skip to content

Commit

Permalink
fixed check for forced referenceId in GA4GH examples
Browse files Browse the repository at this point in the history
  • Loading branch information
akmorrow13 committed Oct 2, 2017
1 parent 7897b19 commit 98d75e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/sources/GA4GHAlignmentSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function create(spec: GA4GHSpec): AlignmentDataSource {
o.trigger('networkprogress', {numRequests});
// hack for DEMO. force GA4GH reference ID
var contig = range.contig;
if (spec.forcedReferenceId !== null)
if (spec.forcedReferenceId !== undefined)
{
contig = spec.forcedReferenceId;
}
Expand Down

0 comments on commit 98d75e2

Please sign in to comment.