055fa6c7e8e93845318ebd83d4c8ebe98b00b974,hicexplorer/test/test_buildMatrix.py,,test_build_matrix,#,14

Before Change



    test = hm.hiCMatrix(ROOT + "small_test_matrix.h5")
    new = hm.hiCMatrix(outfile.name)
    nt.assert_equal(test.matrix.data, new.matrix.data)
    assert test.cut_intervals == new.cut_intervals

    print(set(os.listdir(ROOT + "QC/")))
    assert set(os.listdir(ROOT + "QC/")) == set(os.listdir(qc_folder))

After Change


    assert set(os.listdir(ROOT + "QC/")) == set(os.listdir(qc_folder))

    // using galaxy wrapper test case
    test_size = os.path.getsize(ROOT + "small_test_matrix.h5")
    new_size = os.path.getsize(outfile.name)

    assert abs(test_size - new_size) < 30000

    os.unlink(outfile.name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: deeptools/HiCExplorer
Commit Name: 055fa6c7e8e93845318ebd83d4c8ebe98b00b974
Time: 2017-06-14
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/test/test_buildMatrix.py
Class Name:
Method Name: test_build_matrix


Project Name: deeptools/HiCExplorer
Commit Name: 055fa6c7e8e93845318ebd83d4c8ebe98b00b974
Time: 2017-06-14
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/test/test_buildMatrix.py
Class Name:
Method Name: test_build_matrix


Project Name: deeptools/HiCExplorer
Commit Name: ac73955d8275af8e13d506e3447bb3c7d10f4c05
Time: 2017-07-03
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/test/test_plotTads_plotMatrix.py
Class Name: TestPlottingPrograms
Method Name: test_hicPlotMatrix


Project Name: deeptools/HiCExplorer
Commit Name: ac73955d8275af8e13d506e3447bb3c7d10f4c05
Time: 2017-07-03
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/test/test_plotTads_plotMatrix.py
Class Name: TestPlottingPrograms
Method Name: test_hicPlotTads