Skip to content

Commit

Permalink
Krona no longer bound by sys
Browse files Browse the repository at this point in the history
as it is not required in the most recent versions
  • Loading branch information
iquasere committed Nov 17, 2020
1 parent eeab85a commit f44e531
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recognizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ def create_krona_plot(tsv, output = None):
if output is None:
output = tsv.replace('.tsv','.html')
conda_exec = subprocess.check_output('which conda'.split()).decode('utf8')
run_command('{}/bin/ktImportText {} -o {}'.format(
conda_exec.split('/bin')[0], tsv, output))
run_command('ktImportText {} -o {}'.format(conda_exec.split('/bin')[0], tsv, output))

def main():

Expand Down

0 comments on commit f44e531

Please sign in to comment.