Skip to content

Commit 5243482

Browse files
committed
Update plot test to reflect new plot labels
1 parent 9814e85 commit 5243482

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/test-data/test.png

5.05 KB
Loading

tests/tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ def test_plot_regression():
9494
y_value = np.array(np.log([1,2,4,6,9,13,15,16,18,20])).reshape(-1, 1)
9595
y_predicted = np.array([1,2,4,6,10,12,14,16,18,20]).reshape(-1, 1)
9696
dropoff_rate= -0.0051
97+
dropoff_codon = -0.0003
98+
rsquare = 0.4907
9799
stand_error = 0.001
98100
output ="test"
99101
rmse =0.1
100102
norm_weight = [1,1,1,1,1,1,1,1,1,1]
101-
rb.plot_regression(x_value, y_value, y_predicted, norm_weight, dropoff_rate, rmse, stand_error, output, -3, 2)
103+
rb.plot_regression(x_value, y_value, y_predicted, norm_weight, dropoff_rate, dropoff_codon, rmse, rsquare, stand_error, output, -3, 2)
102104
imageA = cv2.imread("test.Log.WLR.png")
103105
imageB = cv2.imread("tests/test-data/test.png")
104106
grayA = cv2.cvtColor(imageA, cv2.COLOR_BGR2GRAY)

0 commit comments

Comments
 (0)