Skip to content

Commit

Permalink
Merge pull request #102 from mandli/copy-gauge-test-data
Browse files Browse the repository at this point in the history
Copy gauge output from Fortran rather than rewrite from Python
  • Loading branch information
mandli authored Sep 23, 2016
2 parents 2e5c3ee + 04a91fb commit 6fb8d25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/python/clawutil/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ def check_gauges(self, save=False, gauge_id=1, indices=[0],
# Get regression comparison data
regression_data_path = os.path.join(self.test_path, "regression_data")
if save:
gauge.write(regression_data_path)
gauge_file_name = "gauge%s.txt" % str(gauge_id).zfill(5)
shutil.copy(os.path.join(self.temp_path, gauge_file_name),
regression_data_path)
regression_gauge = gauges.GaugeSolution(gauge_id,
path=regression_data_path)

Expand Down

0 comments on commit 6fb8d25

Please sign in to comment.