Skip to content

Commit 335b8ee

Browse files
SaimMomin12adRn-s
authored andcommitted
relaxed size tolerance
1 parent ca2dcdd commit 335b8ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pydeeptools/deeptools/test/test_plotcorrelation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_correlation_plot_with_minimal_options():
2828

2929
png_file_size = os.path.getsize(COR_PLOT_1)
3030
expected_file_size = os.path.getsize(out_png)
31-
size_tolerance = 1000
31+
size_tolerance = 5000
3232
size_difference = abs(png_file_size - expected_file_size)
3333
assert size_difference <= size_tolerance, "File size do not match"
3434
unlink(out_png)
@@ -43,7 +43,7 @@ def test_correlation_plot_scatter():
4343
pc.main(args)
4444
png_file_size = os.path.getsize(COR_PLOT_2)
4545
expected_file_size = os.path.getsize(out_png2)
46-
size_tolerance = 1000
46+
size_tolerance = 5000
4747
size_difference = abs(png_file_size - expected_file_size)
4848
assert size_difference <= size_tolerance, "File size do not match"
4949
unlink(out_png2)

0 commit comments

Comments
 (0)