Skip to content

Commit ae68842

Browse files
committed
Add a howto to make fixing future comparison failures easier
1 parent 957b559 commit ae68842

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/IVIMmodels/unit_tests/compare.r

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
#Run like this:
44
#Rscript --vanilla tests/IVIMmodels/unit_tests/compare.r test_output.csv test_reference.csv reference_output.csv test_results.csv
55

6+
# If this script fails:
7+
# 1. Save the "Comparison" file from the run on Github, OR run this file directly
8+
# 2. Find the file producted "test_reference.csv" on Github, or whatever the "reference_file" variable was called
9+
# 3. This replaces "tests/IVIMmodels/unit_tests/reference_output.csv" in the repository
10+
611
args = commandArgs(trailingOnly=TRUE)
712
# Define file paths
813
test_file <- "test_output.csv"

0 commit comments

Comments
 (0)