diff --git a/scripts/filter-abund-single.py b/scripts/filter-abund-single.py index ef0c13068b..a2e44c37c6 100755 --- a/scripts/filter-abund-single.py +++ b/scripts/filter-abund-single.py @@ -176,7 +176,6 @@ def main(): args.variable_coverage, args.normalize_to) if trimmed_record: - print((trimmed_record,)) write_record(trimmed_record, outfp) log_info('output in {outfile}', outfile=outfile) diff --git a/tests/test_filter_abund.py b/tests/test_filter_abund.py index 99e29708a1..c12a8471ad 100644 --- a/tests/test_filter_abund.py +++ b/tests/test_filter_abund.py @@ -410,6 +410,7 @@ def test_filter_abund_1_quiet(): status, out, err = utils.runscript(script, args, in_dir) assert len(err) == 0 + assert len(out) < 1000 outfile = infile + '.abundfilt' n_outfile = n_infile + '.abundfilt' @@ -427,6 +428,7 @@ def test_filter_abund_1_singlefile_quiet(): (status, out, err) = utils.runscript(script, args, in_dir) assert len(err) == 0 + assert len(out) < 1000 outfile = infile + '.abundfilt' assert os.path.exists(outfile), outfile