Skip to content

Commit

Permalink
explicitly specify python as the interpreter for maf-convert
Browse files Browse the repository at this point in the history
explicitly specify python as the interpreter for maf-convert, since
conda has a bug where long shebang prefixes are broken
  • Loading branch information
tomkinsc committed Jun 30, 2016
1 parent a4d0483 commit 833e73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxon_filter.py
Expand Up @@ -275,7 +275,7 @@ def lastal_chunked_fastq(

mafconvert_out = mkstempfname('.mafconvert')
with open(mafconvert_out, 'wt') as outf:
cmd = [mafconvert_path, 'tab', mafsort_out]
cmd = ["python", mafconvert_path, 'tab', mafsort_out]
log.debug(' '.join(cmd) + ' > ' + mafconvert_out)
subprocess.check_call(cmd, stdout=outf)
os.unlink(mafsort_out)
Expand Down

0 comments on commit 833e73a

Please sign in to comment.