Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimwolff committed Nov 23, 2018
1 parent 90c904f commit af7f1fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hicexplorer/test/general/test_hicConvertFormat.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_hicConvertFormat_h5_to_cool_enforce_integer():
outfile = NamedTemporaryFile(suffix='.cool', delete=False)
outfile.close()

args = "--matrices {} --outFileName {} --inputFormat h5 --outputFormat cool ".format(original_matrix_cool, outfile.name).split()
args = "--matrices {} --outFileName {} --inputFormat h5 --outputFormat cool ".format(original_matrix_h5, outfile.name).split()
hicConvertFormat.main(args)

test = hm.hiCMatrix(original_matrix_cool)
Expand Down
2 changes: 1 addition & 1 deletion hicexplorer/test/general/test_hicPlotAverageRegions.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_average_regions_plot_log():
args = "--matrix {} -o {} --log".format(matrix, outfile.name).split()
hicPlotAverageRegions.main(args)

res = compare_images(ROOT + '/hicPlotAverageRegions/defaults_log.png', outfile.name, tol=40)
res = compare_images(ROOT + '/hicPlotAverageRegions/defaults_log.png', outfile.name, tol=50)
assert res is None, res
os.remove(outfile.name)

Expand Down
2 changes: 1 addition & 1 deletion hicexplorer/test/test_data/number_of_tests.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
254
377

0 comments on commit af7f1fe

Please sign in to comment.