Skip to content

Commit 762c57e

Browse files
Apply automatic formatting
1 parent 25ec18e commit 762c57e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/powder/correction_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ def test_normalize_by_monitor_histogram_expected_results():
350350
# Simple way to get all false array same shape as detector data.
351351
# Is there a better way?
352352
all_false = sc.isinf(detector.bins.data)
353-
expected = NormalizedDspacing[SampleRun](
354-
detector / monitor.data
355-
).bins.assign_masks({'monitor_intensity_is_zero': all_false})
353+
expected = NormalizedDspacing[SampleRun](detector / monitor.data).bins.assign_masks(
354+
{'monitor_intensity_is_zero': all_false}
355+
)
356356
sc.testing.assert_identical(normalized, expected)
357357

358358

0 commit comments

Comments
 (0)