obi uniq: Added line breaks when printing informations to cut progress

bar properly
This commit is contained in:
Celine Mercier
2018-10-17 15:53:28 +02:00
parent eb6d5581bd
commit 61ad2deeca

View File

@ -361,7 +361,8 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, li
o_taxid_dist_col = o_view[b"taxid_dist"]
if b"merged" in o_view:
o_merged_col = o_view[b"merged"]
print("\n") # TODO because in the middle of progress bar. Better solution?
logger("info", "Second browsing through the input")
# Initialize the progress bar
pb = ProgressBar(len(uniques), seconde=5)
@ -470,6 +471,7 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, li
o_view.delete_column(QUALITY_COLUMN)
if taxonomy is not None:
print("\n") # TODO because in the middle of progress bar. Better solution?
logger("info", "Merging taxonomy classification")
merge_taxonomy_classification(o_view, taxonomy)