Skip to content

Commit

Permalink
Allow IndexedFasta to use fastajs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 13, 2018
1 parent 7c22f73 commit cf9ef91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JBrowse/Store/SeqFeature/IndexedFasta.js
Expand Up @@ -80,7 +80,7 @@ return declare( [ SeqFeatureStore, DeferredFeaturesMixin ],

_getFeatures: function( query, featCallback, endCallback, errorCallback ) {
this.fasta.getResiduesByName( this.refSeq.name, query.start, query.end ).then((seq) => {
featCallback(new SimpleFeature({data: {seq: seq }}))
featCallback(new SimpleFeature({data: {seq, start: query.start, end: query.end}}))
endCallback()
},
errorCallback );
Expand Down

0 comments on commit cf9ef91

Please sign in to comment.