Skip to content

Commit

Permalink
Merge pull request #1740 from wltrimbl/removedebugging
Browse files Browse the repository at this point in the history
Remove debugging output from filter-abundant-single.py
  • Loading branch information
betatim committed Jul 3, 2017
2 parents acea494 + 07c41af commit 024abc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/filter-abund-single.py
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_filter_abund.py
Expand Up @@ -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'
Expand All @@ -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

0 comments on commit 024abc3

Please sign in to comment.