Skip to content

Commit

Permalink
Fixes an undefined variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
StuntsPT committed Aug 25, 2017
1 parent 9d2f57d commit 1244fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addTaxonToBlast/addTaxonToBlast.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var taxonToAdd = process.argv[3]
var queryStream = through.obj(query)

function query (line, encoding, next) {
uid = line.split('\t')[16]
var uid = line.split('\t')[16]
ncbi.fetch('taxonomy', uid + '[uid]', (taxonomy) => {
try {
var taxons = taxonomy[0].TaxaSet.Taxon[0].LineageEx[0].Taxon
Expand Down

0 comments on commit 1244fff

Please sign in to comment.