comparison metfrag.py @ 3:5ee936e570a7 draft

planemo upload for repository https://github.com/computational-metabolomics/metfrag-galaxy commit 5b5d5fdc81a1756000dc25d4aa672fec1ece732a
author tomnl
date Tue, 25 Jun 2019 06:02:26 -0400
parents d040e27b6225
children eb581a101672
comparison
equal deleted inserted replaced
2:d040e27b6225 3:5ee936e570a7
402 print(outfiles) 402 print(outfiles)
403 403
404 404
405 # merge outputs 405 # merge outputs
406 with open(args.result_pth, 'a') as merged_outfile: 406 with open(args.result_pth, 'a') as merged_outfile:
407 dwriter = csv.DictWriter(merged_outfile, fieldnames=headers, delimiter='\t', quotechar='"', 407 dwriter = csv.DictWriter(merged_outfile, fieldnames=headers, delimiter='\t', quotechar='"')
408 quoting=csv.QUOTE_NONNUMERIC,)
409 dwriter.writeheader() 408 dwriter.writeheader()
410 409
411 for fn in outfiles: 410 for fn in outfiles:
412 411
413 with open(fn) as infile: 412 with open(fn) as infile: