Mercurial > repos > imgteam > segmetrics
comparison run-segmetrics.py @ 2:543af0d4781a draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/segmetrics/ commit fc2ed9f0259912912507567c81241f695dc8c33a
author | imgteam |
---|---|
date | Sat, 08 Oct 2022 19:53:54 +0000 |
parents | 6cbb36364b82 |
children | 48dcf95aebc7 |
comparison
equal
deleted
inserted
replaced
1:32194c52bb71 | 2:543af0d4781a |
---|---|
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=',', 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) |