Mercurial > repos > imgteam > segmetrics
comparison run-segmetrics.py @ 3:48dcf95aebc7 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/segmetrics/ commit baee438adb94f6e8b6c3e45e8413c36f9d1dadee
author | imgteam |
---|---|
date | Sat, 08 Oct 2022 21:54:05 +0000 |
parents | 543af0d4781a |
children | ef65ecafa3ef |
comparison
equal
deleted
inserted
replaced
2:543af0d4781a | 3:48dcf95aebc7 |
---|---|
126 val = aggregate(measure, values) | 126 val = aggregate(measure, values) |
127 rows[-1].append(val) | 127 rows[-1].append(val) |
128 | 128 |
129 # write results | 129 # write results |
130 with open(args.results, 'w', newline='') as fout: | 130 with open(args.results, 'w', newline='') as fout: |
131 csv_writer = csv.writer(fout, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL) | 131 csv_writer = csv.writer(fout, delimiter='\t', quotechar='"', quoting=csv.QUOTE_MINIMAL) |
132 for row in rows: | 132 for row in rows: |
133 csv_writer.writerow(row) | 133 csv_writer.writerow(row) |