We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d595c commit 051b0caCopy full SHA for 051b0ca
modeldb/report.py
@@ -60,7 +60,10 @@ def diff_reports(report1_json, report2_json):
60
curated_b = curate_run_data(data_b[k]["nrn_run"], model=int(k))
61
if curated_a != curated_b:
62
diff_dict[k] = hd.make_table(curated_a, curated_b, context=True).replace("\n", " ")
63
- if "do_not_run" not in data_a[k]:
+
64
+ # List of keys that make gout comparison pointless
65
+ skip_gout_keys = {"do_not_run", "moderr", "nrn_run_err"}
66
+ if skip_gout_keys.isdisjoint(data_a[k]) and skip_gout_keys.isdisjoint(data_b[k]):
67
gout_a_file = os.path.join(data_a[k]["run_info"]["start_dir"], "gout")
68
gout_b_file = os.path.join(data_b[k]["run_info"]["start_dir"], "gout")
69
0 commit comments