Mercurial > repos > sanbi-uwc > qc
changeset 7:6bdec8c62aec draft default tip
"planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/qc commit 58ea5206cf78a4ff48fadedbe4e260c190d6f06e"
author | sanbi-uwc |
---|---|
date | Mon, 12 Apr 2021 15:53:58 +0000 |
parents | 878f18249f76 |
children | |
files | qc.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/qc.py Mon Apr 12 12:28:41 2021 +0000 +++ b/qc.py Mon Apr 12 15:53:58 2021 +0000 @@ -160,8 +160,8 @@ # write a json file from the dict json_file = args.outfile + '.json' - with open(args.outfile, 'w') as jsonfile: - json.dump(qc_line, json_file) + with open(json_file, 'w') as jsonfile: + json.dump(qc_line, jsonfile) N_density = sliding_window_N_density(fasta) make_qc_plot(depth_pos, N_density, args.sample)