Skip to content

Commit

Permalink
Add a howto to make fixing future comparison failures easier
Browse files Browse the repository at this point in the history
  • Loading branch information
etpeterson committed Sep 4, 2024
1 parent 957b559 commit ae68842
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/IVIMmodels/unit_tests/compare.r
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
#Run like this:
#Rscript --vanilla tests/IVIMmodels/unit_tests/compare.r test_output.csv test_reference.csv reference_output.csv test_results.csv

# If this script fails:
# 1. Save the "Comparison" file from the run on Github, OR run this file directly
# 2. Find the file producted "test_reference.csv" on Github, or whatever the "reference_file" variable was called
# 3. This replaces "tests/IVIMmodels/unit_tests/reference_output.csv" in the repository

args = commandArgs(trailingOnly=TRUE)
# Define file paths
test_file <- "test_output.csv"
Expand Down

0 comments on commit ae68842

Please sign in to comment.