Mercurial > repos > proteore > proteore_venn_diagram
diff venn_diagram.py @ 10:e744a43171ff draft
"planemo upload commit 6bef056b0e52bfa39dbe8591bfe67f8c95bf3ba2-dirty"
author | proteore |
---|---|
date | Tue, 14 Jan 2020 09:14:27 -0500 |
parents | bca31ac678f1 |
children | 958eb2ea02aa |
line wrap: on
line diff
--- a/venn_diagram.py Thu Sep 12 08:42:45 2019 -0400 +++ b/venn_diagram.py Tue Jan 14 09:14:27 2020 -0500 @@ -130,10 +130,10 @@ #construct tsv for key in result : - line = [column_dict[key]] - line.extend(result[key]) + line = result[key] if len(line) < nb_lines_max : line.extend(['NA']*(nb_lines_max-len(line))) + line = [column_dict[key]] + line #add header lines.append(line) #transpose tsv lines=zip(*lines)