|
21 | 21 |
|
22 | 22 | def test_save_load():
|
23 | 23 | outfile = '/tmp/matrix.h5'
|
24 |
| - cut_intervals = [(b'a', 0, 10, 1), (b'a', 10, 20, 1), |
25 |
| - (b'a', 20, 30, 1), (b'a', 30, 40, 1), (b'b', 40, 50, 1)] |
| 24 | + cut_intervals = [('a', 0, 10, 1), ('a', 10, 20, 1), |
| 25 | + ('a', 20, 30, 1), ('a', 30, 40, 1), ('b', 40, 50, 1)] |
26 | 26 | hic = hm.hiCMatrix()
|
27 | 27 | hic.nan_bins = []
|
28 | 28 | matrix = np.array([[1, 8, 5, 3, 0],
|
@@ -139,8 +139,8 @@ def test_convert_to_zscore_matrix_2():
|
139 | 139 |
|
140 | 140 | def test_save_load_cooler_format():
|
141 | 141 | outfile = '/tmp/matrix2.cool'
|
142 |
| - cut_intervals = [(b'a', 0, 10, 1), (b'a', 10, 20, 1), |
143 |
| - (b'a', 20, 30, 1), (b'a', 30, 40, 1), (b'b', 40, 50, 1)] |
| 142 | + cut_intervals = [('a', 0, 10, 1), ('a', 10, 20, 1), |
| 143 | + ('a', 20, 30, 1), ('a', 30, 40, 1), ('b', 40, 50, 1)] |
144 | 144 | hic = hm.hiCMatrix()
|
145 | 145 | hic.nan_bins = []
|
146 | 146 | matrix = np.array([[1, 8, 5, 3, 0],
|
|
0 commit comments