Skip to content

Commit

Permalink
Merge pull request #66 from NREL/SmallTweaks
Browse files Browse the repository at this point in the history
Parallel Diff-ing and other Tweaks
  • Loading branch information
Myoldmopar committed May 23, 2021
2 parents d4cbf3f + 5f2634d commit 237b8a3
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 103 deletions.
9 changes: 8 additions & 1 deletion epregressions/diffs/ci_compare_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ def main_function(file_name, base_dir, mod_dir, base_sha, mod_sha, make_public,
runner = SuiteRunner(run_config, [])

cleanup(mod_dir)
entry = runner.process_diffs_for_one_case(initial_entry, ci_mode=True) # returns an updated entry
entry, message = runner.process_diffs_for_one_case(
initial_entry,
runner.build_tree_a,
runner.build_tree_b,
runner.test_output_dir,
runner.thresh_dict_file,
ci_mode=True
) # returns an updated entry

with open('results.json', 'w') as f:
f.write(json.dumps(entry.to_dict(), indent=4))
Expand Down
Loading

0 comments on commit 237b8a3

Please sign in to comment.