Skip to content

Commit

Permalink
Merge pull request #50 from broadinstitute/dp-demux
Browse files Browse the repository at this point in the history
demux meta_by_sample output fix
  • Loading branch information
dpark01 committed Jan 16, 2021
2 parents b31f15c + 21fae09 commit 06888f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion illumina.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def main_illumina_demux(args):
# organize samplesheet metadata as json
if args.out_meta_by_sample:
with open(args.out_meta_by_sample, 'wt') as outf:
json.dump(dict((r['sample_original'],r) for r in samples.get_rows()), outf, indent=2)
json.dump(dict((r['sample'],r) for r in samples.get_rows()), outf, indent=2)
if args.out_meta_by_filename:
with open(args.out_meta_by_filename, 'wt') as outf:
json.dump(dict((r['run'],r) for r in samples.get_rows()), outf, indent=2)
Expand Down

0 comments on commit 06888f0

Please sign in to comment.