19def compare_results(egslst, inp_name):
21 gold_standard = os.path.join(os.path.dirname(os.path.abspath(__file__)),
"phsp_run_compare.phantom.3ddose")
22 run_doses = inp_name+
".phantom.3ddose"
24 doses_close = compare_3ddose_files(gold_standard, run_doses, max_percent_diff=0.01)
26 gs_doses = read3ddose(gold_standard)
27 actual_doses = read3ddose(run_doses)
29 return doses_close, actual_doses, gs_doses