Commit 26eb6f11 authored by Penom Nom's avatar Penom Nom
Browse files

Fix bug in biom_to_krona.

parent 30a640b8
......@@ -39,11 +39,8 @@ def biom_to_krona( exec_path, stem_path_krona, biom_file, log_file ):
from subprocess import Popen, PIPE
import sys
# Format data
biom = BiomIO.from_json( biom_file )
BiomIO.write_krona_table( krona_data_file, biom )
log_fh = open( log_file )
log_fh = open( log_file, "w" )
for sample in biom.get_samples_names():
krona_text_file = stem_path_krona + sample.replace( " ", "_") + ".text"
krona_html_file = stem_path_krona + sample.replace( " ", "_") + ".html"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment