Mercurial > repos > proteore > proteore_venn_diagram
diff venn_diagram.py @ 6:95bbe3a6b09f draft
"planemo upload commit d78a9195d250f3d873f3c4ab67d1fa3ae58926f5-dirty"
| author | proteore |
|---|---|
| date | Fri, 10 Jan 2020 08:18:06 +0000 |
| parents | c3bbc688dde2 |
| children | 087011d9e3aa |
line wrap: on
line diff
--- a/venn_diagram.py Thu Jun 27 04:23:23 2019 -0400 +++ b/venn_diagram.py Fri Jan 10 08:18:06 2020 +0000 @@ -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)
