Skip to content

Commit 415e7cc

Browse files
committed
Print mapper log when running py wrapper
1 parent 846f24d commit 415e7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veritymap/py_src/mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def run_mapper(assembly, reads_fname, out_dir, threads, datatype, is_careful):
3939
'--target', assembly.fname, '--queries', reads_fname,
4040
'-o', join(out_dir, 'veritymap'), '-t', str(threads), '--config', datatype]
4141
if is_careful: cmd += ['--careful']
42-
subprocess.call(cmd, stdout=open("/dev/null", "w"), stderr=open("/dev/null", "w"))
42+
subprocess.call(cmd)
4343
output_fname = join(out_dir, 'veritymap', 'chains.tsv')
4444
sam_fname = join(out_dir, 'veritymap', 'alignments.sam')
4545
shutil.move(output_fname, assembly.chains_fname)

0 commit comments

Comments
 (0)