Skip to content

Commit 3d2cfd9

Browse files
committed
Fix #493
1 parent 4647ada commit 3d2cfd9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.4.3
2+
3+
* Fixed incorrect label ordering in the `plotCorrelation` command with the `--outFileCorMatrix` options.
4+
* Fixed bug #491, which involved python 3 and bamCoverage.
5+
16
2.4.2
27

38
* Fixed an issue where `computeMatrix reference-point --referencePoint center` would break if 1-base regions were used. This was bug #456.

deeptools/correlation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def save_corr_matrix(self, file_handle):
161161
saves the correlation matrix
162162
"""
163163
if self.column_order:
164-
self.corr_matrix[self.column_order, self.column_order]
164+
self.corr_matrix = self.corr_matrix[:, self.column_order][self.column_order]
165165
self.labels = [self.labels[i] for i in self.column_order]
166166

167167
file_handle.write("\t'" + "'\t'".join(self.labels) + "'\n")

0 commit comments

Comments
 (0)