Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 19, 2025
1 parent 0192ed9 commit 45496ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ def _run_reduction_and_compare(config, expected_result_basename):
test_iq2d_file = os.path.join(test_dir, config["outputFileName"] + "_Iqxqy.dat")
gold_iq2d_file = os.path.join(datarepo_dir.eqsans, "test_corrections", expected_result_basename + "_Iqxqy.dat")
# compare
np.testing.assert_allclose(np.loadtxt(test_iq2d_file, skiprows=4),
np.loadtxt(gold_iq2d_file, skiprows=4),
atol=0.003)
np.testing.assert_allclose(
np.loadtxt(test_iq2d_file, skiprows=4), np.loadtxt(gold_iq2d_file, skiprows=4), atol=0.003
)

DeleteWorkspace("_empty")
DeleteWorkspace("_mask")
Expand Down

0 comments on commit 45496ae

Please sign in to comment.