From 61ad2deeca0b78fea4f483baea0d928979730984 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 17 Oct 2018 15:53:28 +0200 Subject: [PATCH] obi uniq: Added line breaks when printing informations to cut progress bar properly --- python/obitools3/commands/uniq.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/obitools3/commands/uniq.pyx b/python/obitools3/commands/uniq.pyx index 0da9cb3..84335b7 100644 --- a/python/obitools3/commands/uniq.pyx +++ b/python/obitools3/commands/uniq.pyx @@ -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)