23def compare_results(egslst, inp_name):
25 gold_standard = os.path.join(os.path.dirname(os.path.abspath(__file__)),
"gold_standard.3ddose")
26 run_doses = inp_name+
".phantom.3ddose"
28 doses_close = compare_3ddose_files(gold_standard, run_doses, max_percent_diff=0.01)
30 return doses_close, read3ddose(run_doses), read3ddose(gold_standard)